• [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006) 5 0 5 1
Currently:  

Author Topic: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)  (Read 389982 times)

0 Members and 1 Guest are viewing this topic.

rinaldos

  • Guest
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #225 on: August 30, 2009, 11:56:06 AM »
Das Temp Verzeichnis unter data ist schon ok. Hätte ja sein können, das es ausversehen gelöscht wurde :-)
Bei einem Update musst du aufpassen, nicht das nachher alle bisher eingebauten MOD's weg sind. Du findest die Änderungen hier:
http://www.4homepages.de/forum/index.php?topic=24794.0


Offline Jockel11

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #226 on: October 21, 2009, 10:03:42 PM »
Hallo,
ich habe seit einigen Monaten eine Galerie mit 4images 1.7.6 in Betrieb:
ost-friesland-bild.de (am Design muß ich sicher noch arbeiten - aber die Zeit fehlt einfach)
Sie läuft soweit ganz gut. Bilder werden per FTP hochgeladen und mit checkimages.php hinzugefügt. Thumbnails werden automatisch erstellt. Alles prima soweit.

Für einen Bekannten habe ich nun auch eine Galerie mit 4images 1.7.7 eingerichtet und auch checkimages 2.11 wieder installiert.
Leider funktioniert es nun nicht.
Neue Bilder werden nach dem Klick auf "Neue Bilder chrecken" zwar aufgelistet.
Wenn ich dann aber auf "Hinzufügen" klicke, erscheint eine leere Seite mit der Überschrift "neue Bilder checken Log", mehr nicht. Die Bilder werden nicht in die Galerie eingefügt.
Weiß jemand, wo der Fehler liegt?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #227 on: October 22, 2009, 01:12:39 AM »
Is your friend's gallery on different server/host? if so I'd suspect there is some kind of limitation on POST data.
Try limit number of images per page (1-5 images per page) and see if that works. If that works, then you should contact host administrator and get some information abou limitations they set on the server.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Jockel11

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #228 on: October 22, 2009, 09:19:03 PM »
Hi V@no,
thanks for the reply.
It is true, the gallery of my friend is on another server / host (www.1+ 1.de)
However checkimeges not work well with 1 picture.
I suspect that the picture was too big (990 KB). With a small image (300 KB) it is obvious.

Hallo V@no,
danke für die Antwort.
Es ist richtig, die Galerie meines Bekannten befindet sich auf einem anderen Server/Host (www.1+1.de)
Allerdings funktioniert checkimeges auch mit 1 Bild nicht.
Ich vermute,dass das Bild zu groß war (990 KB). Mit einem kleinen Bild (300 KB)funktioniert es offensichtlich.

Offline V@nо

  • Addicted member
  • ******
  • Posts: 1.223
    • View Profile
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #229 on: October 22, 2009, 09:49:18 PM »
in that case it's probably memory limit., again ether ask host to increase it, or use imagemagick/netpbm instead of gd libriary for creating thumbnails, resizing images.
Your first three "must do" before you ask a question:
If I asked you to PM me, I meant PM to my primary account, this account doesn't accept PMs.

Offline tom69

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #230 on: October 24, 2009, 11:41:09 AM »
Hallo V@no,

also...erst einmal ein Lob, dein Mod ist supi, klappt auch super unter der Version 1.7.7.

Ich habe allerdings folgende Probleme:

Wenn ich ein Bild mit dem Namen : Blume - 001 , Blume - 002 , Blume - 003 usw. erstelle, die auf meinen Server in die entsprechende ID lade und dann im ACP auf  "neue Bilder checken" gehe und dieses mit deinem Mod mache, zeigt mir dein Mod noch alles an wie es soll, sprich....die Bilder haben noch den "richtigen" Namen bzw. Rheihenfolge.

Nachdem ich dann auf hinzufügen geklickt habe, heißen die Bilder dann auf einmal : Blume_-_001_-_001 , Blume_-_002_-_002, oder Blume_-_003_-_008

In der Galerie gibt es dann auch zwei Bilder, die den gleichen Namen haben Blume - 001 (Hochkannt ) und Blume - 001 (Querformat )  - es können aber auch zwei geiche Formate sein mit der gleichen Bezeichnung

Außerdem werden die Bilder nicht nach Zahlen sortiert : Die Rheihenfolge sieht z.B. so aus : Blume - 001 , Blume - 004, Blume - 003 , Blume - 008 , dann gibt es wieder stellen, da sind sie schön durchnummeriert.

Ich habe dein Mod wieder herausgenommen und durch die "Standart - Datei " ersetzt, denn damit gab es die Probleme nicht.

Wäre schön wenn Du helfen könntest :-)  , da dein Mod mir sehr viel Zeit spart.

Gruß
Tom




 

Offline V@nо

  • Addicted member
  • ******
  • Posts: 1.223
    • View Profile
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #231 on: October 24, 2009, 06:35:40 PM »
this mod replaces all "unsafe" characters in filenames with a "_" and it adds 001, 002 to the filenames only if files with the same name already exist in the folder.

It might help better understand the issue you are experiencing if you post detailed step-by-step on how to reproduce it. (including exact filenames)
Your first three "must do" before you ask a question:
If I asked you to PM me, I meant PM to my primary account, this account doesn't accept PMs.

Offline tom69

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #232 on: October 25, 2009, 02:19:55 PM »
Hello V@no,

First, I create a category name in 4images, so I get the following under 4images / data / media / (id - number)

In the folder with the ID-No. I then copy purely via ftp my pictures. My pictures always end as follows: - 001, - 002, - 003, - 004, etc.

Now I'm going to the ACP and also click "check new pictures"

Now your MOD changes the images in these names:  -_001_-_001 ,  _002-_002_-  or in -_003_-_008

How comes it that there are two pictures with the number - 004 ( to example ), and the images are not sorted by the number

Sorry for my Englisch ( ist translate by Google )

Tom

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #233 on: October 25, 2009, 07:08:34 PM »
what are the exact names of your images? not just ending...I can't reproduce it on my local server.
I tested it with 3 images:
image - 001.jpg
image - 002.jpg
image - 003.jpg

it saved them as:
image_-_001.jpg
image_-_002.jpg
image_-_003.jpg

And sorted by name just fine.

Then I added again these 3 images:
image - 001.jpg
image - 002.jpg
image - 003.jpg

and it saved them as:
image_-_001_2.jpg
image_-_002_2.jpg
image_-_003_2.jpg

Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline tom69

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #234 on: October 25, 2009, 10:38:49 PM »
the name of the original pictures are for example:


tina dico - 001

tina dico - 002

tina dico - 003


After converting and saving, the Picture has the Name: 

tina dico_-_001_-_001.jpg

tina dico_-_002_-_002.jpg

tina dico_-_003_-_003.jpg


The images are sorted by name as follows:

tina dico - 001.jpg

tina dico - 001.jpg (here must be stand tina dico - 002.jpg) 

tina dico - 002.jpg (here must be stand tina dico - 003.jpg)

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #235 on: October 25, 2009, 10:52:37 PM »
the name of the original pictures are for example:

tina dico - 001

tina dico - 002

tina dico - 003
your images have no file extensions? :| (that's just wrong)

The images are sorted by name as follows:

tina dico - 001.jpg

tina dico - 001.jpg (here must be stand tina dico - 002.jpg)  

tina dico - 002.jpg (here must be stand tina dico - 003.jpg)
sorry, but this just doesn't make any sense...you show one name, then next line you show the same name with a comment...
show exactly how you see it and then add comments below if you wish or use BBcode to separate example from comments and vice versa.

So far I can't reproduce it and until I do, I won't be able to help...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Gwydion

  • Full Member
  • ***
  • Posts: 126
    • View Profile
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #236 on: November 21, 2009, 07:51:12 PM »
I suddenly get error messages when checking for new images.

The gallery version is 1.7.7. with the checkimages mod.
After I updated to 177 and added the mod things worked, there were only some problems with adding new categories.
The current problem seems to have nothing to do with it though.

Error message:
Quote
Warning: opendir(./../data/media/1): failed to open dir: Permission denied in /home/<user>/public_html/<root>/admin/checkimages.php on line 800
This message appears for every category I have.

The line in question in checkimages.php is
800:
Quote
     if ($handle = opendir(MEDIA_PATH.$cat_path))


I tried:
uploading checkimages.php again
uploaded admin and inlcudes folder of  the original again, uploaded the mod files (including checkimages.php)

Same error. Could it be that the mod is not working with 1.7.7? Though why it used to work I don't know.
CMOD error? Not that I have changed anything ..

I do not want to have to delete everything and set it up again, I really get tired with it (and 4images galleries). *sigh*
Any ideas what to do, where to look?


Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #237 on: November 21, 2009, 08:30:11 PM »
As the error says, it's permissions issue. check CHMOD on all folders in data/media
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline deepnight73

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #238 on: February 03, 2010, 07:28:14 AM »
hm, ich hatte nach der installation auch diese fehlermeldung.
nach deinem Tip mit den Verzeichnissen hab ich festgestellt, das alle Hauptcategorie Ordner (wo die untergallerien drin sind) verschwunden waren, trotzdem funzte die Galerie. hab also neue leere Ordner mit nummer 1 bis 6 erstellt, und voila, "message de error" is weg :)

Offline viadata

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #239 on: February 22, 2010, 01:25:17 PM »
Hallo Zusammen,

ich benutze den MOD. Die checkimages kopiert alle "großen" Bilder in den Ordner big. Von dort werden die Bilder dann als Download angeboten. Alles Klasse!
Wenn ich nun ein Bild lösche, wird das Thumbnail und das Anzeigebild sauber gelöscht. Das große Bild im Big Ordner bleibt auf dem Server und müllt den zu. Gibt es eine Möglichkeit dieses Bild über die admin/images.php automatisch mit zu löschen?

Danke sehr für die Mühe.

Holger