4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Releases & Support) => Topic started by: V@no on March 22, 2003, 04:56:15 PM

Title: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on March 22, 2003, 04:56:15 PM
This is an enhanced version of "Check new images" feature in ACP (Admin Control Panel)

(http://img26.exs.cx/img26/5951/checkimagesnorm2lm.png)

--------- [ Features ] -----------------


Legend:
--------- [ Installation ] -----------------

1) Backup /admin/checkimages.php file.
2) Download "Check for new images in ALL categories[/url]" file (See attachment)
3) unzip it and upload it in /admin/ folder


--------- [ How to use ] ------------------

Login into Admin Control Panel (ACP) and click on "Check new images" on left side.


--------- [ Version history ] ------------------

v2.11 (22-04-2006)
    - added separate settings for auto insert IPTC values for name, description, keywords and date
    - all main screen and half of the log messages were moved into $lang array for easier translation into other languages
    - no more fatal error if no annotation mod installed and in the setting selected "Add annotation"
    - fixed an issue with thumbnails preview when 4images setup to use gzip compression
    - fixed a bug that would not show buttons in details view to insert name, description, keywords and date from IPTC when available
v2.10.5
    - fixed few very minor warning messages
v2.10.4
    - fixed a bug which wouldnt rename file when a file with the same name already exists
v2.10.3
    - fixed misteriously missing option from v2.6.0 (rescan is optional)
v2.10.2
    - very minor bug fixed
v2.10.1
    - minor fix for media icons - now they being resized as well
v2.10.0
    - added preview-auto-thumbnails
v2.9.0
    - added search in subcategories
    - fixed minor "check all" bug, witch was affecting auto thumbnail and auto resize options.
v2.8.0
    - added filter for filenames. files with not-standart characters will be renamed
    - added "backup" feature for images only. It will copy the original image into backup directory u specifyed IF the image needed to be changed (resize or/and add watermark).
v2.7.0
    - Added watermark support
v2.6.3
    - fixed default settings didnt work
v2.6.2
    - fixed image name was taken from previous added images after rescan.
v2.6.1
    - fixed user id wasnt inserted into database with detailed view mode.
v2.6.0
    - "rescan after add images" now is optional.
    - now all options shows after scanning, no more need to hit "check" button when any options were changed
    - fixed minor bug
v2.5.3
    - Added 'big' folder default setting
v2.5.2
    - Fixed default settings
v2.5.1
    - Fixed a bug that no metter witch category was selected it searched in all categories
    - Added option to use date from IPTC
v2.5.0
    - Default values for resizing now taken from 4images settings
    - Settings for default values and also for check marks can be customized. (edit the file, its on top of it)
v2.4.2
    - Fixed auto inserting IPTC info without "detailed" mode.
v2.4.1
    - Fixed inserting IPTC info into caption field
v2.4.0
    - Added auto inserting information from IPTC fields for keywords, description, name and date.
v2.3.0
    - Tumbnails preview now resized proportionaly.
    - After images added it returns to the main screen with log on top, instead of just showing log
v2.2.0
    - Added resize image on screen in "details" view (usefull when u have small screen resolution and large images)
v2.1.2
    - Tumbnails preview now resized proportionaly.
    - After images added it returns to the main screen with log on top, instead of just showing log
    - Image max width/height for "Detailed version" now can be set from the main screen.
v2.1.1
    - Added image max width/height for "Detailed version" view (usefull when u have small screen resolution and large images)
     Edit the file, u'll find new variable at the top ( $max_dimension = 600; ), set desired max size.
v2.1.0
    - Added user selector to the main screen
v2.0.0
    - First release
Title: [MOD] Check new images in ALL categories v2.1.2
Post by: pietg on March 27, 2003, 01:32:03 PM
Thanxs V@no.

It was just what I was looking !!
Jan said earlier that it couldn't be done. But time changes everything :-)

Would be great if you could also solve my other "problem".

See: http://www.4homepages.de/forum/viewtopic.php?t=4561&highlight=

Kind regards,
Piet

p.s. we use the system onsite for events as POS-system and make about 1000-1500 pictures per photographer per day. So every step that can be automated is welcome.
Title: [MOD] Check new images in ALL categories v2.1.2
Post by: bernd on April 04, 2003, 07:28:10 PM
V@no - this MOD is one of the best so far. We are just in the middle of re-arranging ~3000 images into a new category structure and this will save major time!

Thanks again,
Bernd
Title: [MOD] Check new images in ALL categories v2.1.2
Post by: djavet on April 09, 2003, 10:48:57 PM
Hello,

Regarding my post :
-> http://www.4homepages.de/forum/viewtopic.php?t=5053&highlight=category

I found maybe a bug in your mod.
Once installed, I can see only the public folder and I can't edit the image trought the portfolio site. I can see my category and edit my image trought the admin interface...
It's like if the portfolio lost the session in the public site....

And when I remove your mod, all is again ok, and if I apply your mod, no more category in the public site...

Hope that will help, Dominique
Title: [MOD] Check new images in ALL categories v2.1.2
Post by: V@no on April 09, 2003, 11:00:50 PM
I'm sorry, I dont see any links between sessions and this plugin.
also, I dont understand what do u mean by "public" folder
Title: [MOD] Check new images in ALL categories v2.1.2
Post by: djavet on April 10, 2003, 08:55:09 AM
Hello,

By "public folder" I mean only the websit visible for guest and public.
Not members folders.

I don't if it's a link with the session, only a theory ;o) I'm not a programmer. And what is strange, is that when I install the mod, I hav no more the admin  edit link in the detail page of the image.

I see/resolve the problem when I add or remove the new checkimage.php file. The other mod I install is the eCard notify.

Strange isn't?

How can I show the problem... ?

Regards; Dom
Title: [MOD] Check new images in ALL categories v2.1.2
Post by: V@no on May 26, 2003, 08:11:14 PM
New version avalable. Check the first post.
Title: [MOD] Check new images in ALL categories v2.1.2
Post by: pietg on May 26, 2003, 10:57:10 PM
V@no, thank you very much.
It works great.

Piet
Title: [MOD] Check new images in ALL categories v2.1.2
Post by: Shap on May 27, 2003, 01:24:51 AM
Great Mod! Easy to install, works and looks great!! :!:
Title: Re: [MOD] Check new images in ALL categories v2
Post by: popo on May 28, 2003, 06:11:20 AM
Quote from: V@no
Always wanted to have option to check new images in all categories instead of one-by-one :D
Also, its not a MOD, but I couldnt pick the right word for it :roll:

--------- Installation -----------------
First, back up /admin/checkimages.php file.
Download "Check for new images in ALL categories (http://come.no-ip.com/files.php?id=15)" file.
unzip it and upload it in /admin/ folder


--------- How to use ------------------
Login into Admin Control Panel (ACP) and click on "Check new images" on left side.


Version 2 in town! :D (posted 05.26.2003)

--------- What's new ------------------
Now it does "auto image resizing" and "auto thumbnailer" at ones and can save original images in /media/xx/<foldername>/ folder
(usefull if u use "Show original image in new window by clicking on image (http://4homepages.de/forum/viewtopic.php?t=3236)" MOD).

NOTE: every time u changed any settings, u must click "Check new images" button or the changes wont be in affect.

Download: "Check for new images v2 (http://come.no-ip.com/files.php?id=28)"



hi,I would like to use this mod, but I come from china, and I can not go to the web site "come.no-ip.com" (maybe the internet route is too long),  so I can not download the file on "come.no-ip.com" . would you pls send me the file by mail ?

my mailbox: sdpopo@pub.sdnet.gd.cn, thanks a lot.
Title: [MOD] Check new images in ALL categories v2.1.2
Post by: eurohp on June 02, 2003, 03:01:48 PM
This Modd is very great, but I have one more question.
Is it possible, that the Script also makes a watermark on the image automatically?
I use the annotation script from SSL  
http://4homepages.de/forum/viewtopic.php?t=3808
Is it possible to integrate this script?

Thanks for help!
Title: [MOD] Check new images in ALL categories v2.1.2
Post by: Maweryk on June 02, 2003, 04:45:26 PM
Great Mod!!!

Thanks!

Markus
Title: The download doesn't work
Post by: mantra on June 03, 2003, 03:52:27 AM
The download page in your site doesn't work, they allways give me the files extentions.

 :wink:
Title: Re: The download doesn't work
Post by: V@no on June 03, 2003, 04:02:15 AM
Quote from: mantra
The download page in your site doesn't work, they allways give me the files extentions.

what do u mean "files extentions"? it might give the wrong file name, but it should give the file anyway...
also, can u download anything from 4images sites by clicking on "Download" button? The reason I ask this, because I use download module from download.php file and if u can download from 4images sites, u should be able download from my download page too....

P.S. just added "Email me this file" feature, only for members though ;)
Title: Yes I know
Post by: mantra on June 03, 2003, 05:56:17 AM
When I click the link [ your links file ] ,
the file is save as document extentention and name of the file is files.
usually all the mod file with zip extention.

after I download your file and try open with notepad they scramble thing inside I can't  read.

I try many time to download and found the same thing [ still save as document extention ].


I use IE 6 with windows 98.
Title: [MOD] Check new images in ALL categories v2.1.2
Post by: V@no on June 03, 2003, 12:47:24 PM
Updated to version 2.1
Added user selector to the main screen. Now u can chose who do u want be an owner of those images without doing "details" view.
Title: [MOD] Check new images in ALL categories v2.1.2
Post by: eurohp on June 03, 2003, 02:08:32 PM
@mantra
simply change the extension to zip.
the file I downloaded has the name files without any extension. I renamed it to files.zip and it worked great.
Title: [MOD] Check new images in ALL categories v2.1.2
Post by: V@no on June 03, 2003, 02:12:38 PM
very strange...but can u download this image?:
http://come.no-ip.com/details.php?image_id=7570
Title: Yeap like you said
Post by: mantra on June 03, 2003, 03:31:26 PM
Yeap like you said eurohp, after I rename the extention to zip......
its work now thanks :wink:
Title: [MOD] Check new images in ALL categories v2.1.2
Post by: mantra on June 03, 2003, 03:36:58 PM
Quote
very strange...but can u download this image?:
http://come.no-ip.com/details.php?image_id=7570



After  make log in in your site , I try dowload one of your image [ alibaba1 ]
I got this extentention V@no

alibaba1.rm
Title: [MOD] Check new images in ALL categories v2.1.2
Post by: V@no on June 03, 2003, 03:40:57 PM
Quote from: mantra
After  make log in in your site , I try dowload one of your image [ alibaba1 ]
I got this extentention V@no

alibaba1.rm

I didnt get it...did u get the correct filename.extension or what?
Title: [MOD] Check new images in ALL categories v2.1.2
Post by: eurohp on June 03, 2003, 07:21:43 PM
I think my question goes down  :(  
here again:
Quote from: eurohp

Is it possible, that the Script also makes a watermark on the image automatically?
I use the annotation script from SSL  
http://4homepages.de/forum/viewtopic.php?t=3808
Is it possible to integrate this script?


I hope someone can help me.
Thanks
Title: [MOD] Check new images in ALL categories v2.1.2
Post by: mantra on June 04, 2003, 03:15:54 AM
:wink: All i'm say is when I download something in your site I got wrong extention for the file I download.
Title: Re: [MOD] Check new images in ALL categories v2.1.2
Post by: susigirl on March 12, 2005, 08:51:05 PM
Hi guys! Sorry for my %$#@ englisj!!! :D

This MOD is superSUPERB but it's giving me some problems (note that I din't said erros!), so I hope you can help me!!! :wink

Let's see:

 :idea: 1.- FEATURE REQUEST: checkimages.php only works for images uploaded directly by me (the admin). Is there a way to make it work with user's images too? I love to have 3 different sizes for the images (thumbnail, detailed view and original in big folder), but I NEED this for the users too! :cry: I always validate images except for some users.

 :?: 2.- BUG? I have the SLL's annotation watermark MOD installed too, but when I use it through checkimages.php only the thumbnails are watermarked!!! :? I don't care it I have watermarked thumbs but I at least want the mark for the detailed images too!!!

 :!: 3.- HELP!!! How to use big folder's images??? I mean: how do I link them from details.php and only for registered users??? How do I show the size and weight of both images just like V@no has in his site?

Too much work??? Is it so difficult to let checkimages.php to work with the tmp_media folder? What about direct uploads? Am I asking too much??? Sorry!!! And I'm really sorry if this have been asking before!!!

Thank you so much guys!!! :wink:
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: rjanszen on March 13, 2005, 11:59:32 AM
Hello Everyone,

I installed the MOD exactly according the details but it is not working.

I import all images through the "MOD Batch Import"

And when I then check for new images he doesn't find new images.

How can this happen ? Is it because of the Batch import MOD

Regards,
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: V@no on March 13, 2005, 12:37:01 PM
batch import mod automaticaly add images into the database.
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: Vincent on March 13, 2005, 12:49:34 PM
hello V@no
all the settings to add the picture i do them ones - so i would like to be abel to add
the checkimages.php in the root and each time somebody starts the index.php this index.php run the checkimages.php in the background and hidden (because all settings are done)!
do you think it is a way to go?

sincerly
vincent
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: rjanszen on March 13, 2005, 08:05:55 PM
batch import mod automaticaly add images into the database.

Hello V@no,

How should I then import 3000 images. Unfortunatly the check new images MOD has no possibility to import images.

Regards,

Raoul
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: V@no on March 13, 2005, 08:22:31 PM
I'm not quet sure u understand what "Batch import MOD" does...
it copyes images from the folder u specifyed into apropriate folder of 4images and then add all images into the database. There is nothing else u need to do after its done.
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: Vincent on March 13, 2005, 08:29:12 PM
V@no
you forgott to answer my part!
vincent
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: V@no on March 13, 2005, 08:37:41 PM
V@no
you forgott to answer my part!
vincent
sorry, its not possible
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: Vincent on March 13, 2005, 08:44:32 PM
 :D
we are talking about informatiq - it means everithing is possible  :wink:

but how - thas the question!?

vincent
Title: Re: [MOD] Check new images in ALL categories v2.1.2
Post by: susigirl on March 14, 2005, 07:07:55 AM
What about my questions guys??? :cry:

Hi guys! Sorry for my %$#@ englisj!!! :D

This MOD is superSUPERB but it's giving me some problems (note that I din't said erros!), so I hope you can help me!!! :wink

Let's see:

 :idea: 1.- FEATURE REQUEST: checkimages.php only works for images uploaded directly by me (the admin). Is there a way to make it work with user's images too? I love to have 3 different sizes for the images (thumbnail, detailed view and original in big folder), but I NEED this for the users too! :cry: I always validate images except for some users.

 :?: 2.- BUG? I have the SLL's annotation watermark MOD installed too, but when I use it through checkimages.php only the thumbnails are watermarked!!! :? I don't care it I have watermarked thumbs but I at least want the mark for the detailed images too!!!

 :!: 3.- HELP!!! How to use big folder's images??? I mean: how do I link them from details.php and only for registered users??? How do I show the size and weight of both images just like V@no has in his site?

Too much work??? Is it so difficult to let checkimages.php to work with the tmp_media folder? What about direct uploads? Am I asking too much??? Sorry!!! And I'm really sorry if this have been asking before!!!

Thank you so much guys!!! :wink:

 :roll: :) :P
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: G4 on March 14, 2005, 07:31:30 AM
question 1 seems to be the same like my question in the other thread. am i right?
http://www.4homepages.de/forum/index.php?topic=6622.0

Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: erikito on March 14, 2005, 06:52:35 PM
hey, great mod!

I just miss one thing right now: the option to delete new images found that have not been entered to the database.

later!

Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: TIMT on March 14, 2005, 11:35:04 PM
Hi

I have two questions:

Where can I change the default for "image file size in pixel"?

I want to copy the original picture into the folder .../media/number_of_category/original/ befor resizing the picture.
What are the modifications to do?

Thank you for helping me.

Serge
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: V@no on March 14, 2005, 11:47:10 PM
hey, great mod!

I just miss one thing right now: the option to delete new images found that have not been entered to the database.

later!


yes, as u could noticed on the screenshot this feature already in development, I'm working on it ;)
Hopefuly it will be included in next version.'

Hi

I have two questions:

Where can I change the default for "image file size in pixel"?

I want to copy the original picture into the folder .../media/number_of_category/original/ befor resizing the picture.
What are the modifications to do?

Thank you for helping me.

Serge
did u see the settings inside the file? ;)
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: TIMT on March 14, 2005, 11:58:35 PM
Hi V@no

Yes, I have seen the settings...

but I can not see the value "1820".
The value "1820" is shown in the field "image file size in pixel" in the ACP.

In the settings I entered
Code: [Select]
$big_folder_default = "original";Then I created a folder .../media/number_of_category/original/
But the original picture is not copied in this folder. And I don't get any error message.

Further more the Description and the Keywords are not updated in the database. When I enter the description in "edit picture", the database is updated.... strange, isn't it?
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: erikito on March 15, 2005, 12:05:54 AM
cool thx!

Oh and TIMT: open checknewimages.php and search for $max_dimension_default = 600;

Check out V@no's first post:
Quote
v2.1.1
    - Added image max width/height for "Detailed version" view (usefull when u have small screen resolution and large images)
     Edit the file, u'll find new variable at the top ( $max_dimension = 600; ), set desired max size.

And for a copy of the original image: (v@no's mod!)

Open member.php
Find:
Quote
//--------------------------------------------
//--------- Auto Image Resizing --------------
//--------------------------------------------

Add before:

Quote
//save full size backup mod

    $backup = 0;
    if ($image_info[2] == 1 || $image_info[2] == 2 || $image_info[2] == 3)
    {
      $src_backup = BACKUPDIR."/".$cat_id;
      $result = true;
      if (!@is_dir($src_backup)) {
        $oldumask = umask(0);
        $result = @mkdir($src_backup);
        umask($oldumask);
        if (!is_dir($src_backup) || !$result) {
          $result = @mkdir($src_backup, 0755);

        }
      }
      if ($result == true){
        $backup = copy($src, $src_backup."/".$new_name);
      }
    }

//end save full size backup mod

Then open then in includes/constants.php

add this code:

Quote
define('BACKUPDIR', "/full/path/to/your/backup/dir/"); //no trailing slash!


Quote
(create folder anywhere on your server, I'd suggest somewhere outside of web accessible directory, make sure its writible (CHMOD 755 or CHMOD 777) and update the BACKUPDIR contant with your folder's FULL PATH (on linux something like /home/blah/4mages_backup or on windows something like D:\\4images_backup play with single back/foward slashes if it doesnt work)

This was originally posted 05.02.2005, 19:29 by V@no so I think it was lost (due to hack)...

Good luck!


 :? I think I misunderstood your question.... :?
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: V@no on March 15, 2005, 12:11:27 AM
but I can not see the value "1820".
The value "1820" is shown in the field "image file size in pixel" in the ACP.

In the settings I entered
Code: [Select]
$big_folder_default = "original";Then I created a folder .../media/number_of_category/original/
But the original picture is not copied in this folder. And I don't get any error message.
ok, the image size is taken from the settings (max image width/height)
and images being copied into your "original" folder ONLY if they are about to be modifyed (resized or annotation added). There is no point copy the original if the original stays original :p ;)

Further more the Description and the Keywords are not updated in the database. When I enter the description in "edit picture", the database is updated.... strange, isn't it?
yes it is strange.
I'll take a look at it, but would like if somebody else confirm this issue as well.

@erikito:
I belive TIMT was talking about specificly about this mod ;)
But thank you for posting that code!
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: TIMT on March 15, 2005, 12:27:32 AM
do you mean from the following setting:
Code: [Select]
$dimension_default = $config['max_image_width']  ; //image dimension
so where exactly do I have to enter the value?

This are the settings in my checkimages.php
Code: [Select]
//--------| Default Settings |-------------

$quality_default = ($config['auto_image_quality']) ? $config['auto_image_quality'] : 85; //image quality
$quality_thumbs_default = $config['auto_thumbnail_quality']; //thumbnail quality
$dimension_default = $config['max_image_width']; //image dimension
$dimension_thumbs_default = $config['auto_thumbnail_dimension']; //thumbnail demension
$max_dimension_default = 140; //displayed in preview image dimension (not image resizing)
$num_newimages_default = 30; //images per circle
$big_folder_default = "big"; //name of the "big" folder where original image will be copied to, if its bigger then size set in the settings.
$big_annotate = 0; //add annotation to the "original" images in "big" folder? (0 or 1)
$backup_orig = ""; //leave empty if u dont want backup files when it needed resize or add watermark (to preserve IPTC and EXIF headers) NO TRAILING SLASH!
$filter = 1; //use a filter on filenames. Any non-standart characters will be replaced with _ or just be deleted. (0 or 1)
$thumbpreview = 1; //create temporary thumbnails for preview if no original was found. (only for none-detailed view) (0 or 1)
$thumbpreview_quality = 75; //quality for temporary thumbnails
$thumbpreview_dimensions = 140; //max dimensions for temporary thumbnails
$thumbpreview_tempdir = ROOT_PATH.'data/temp'; //directory for temporary files. Must be writable (CHMOD 777).
$rescan = 1; //rescan for new images after first portion of images added (0 or 1)
if (!$mode)
{
  $annotate_default = (isset($config['annotation_use'])) ? $config['annotation_use'] : 0; //add annotation to the images (require "Annotation MOD" by SLL)
  $big_default = 1; //save original image (0 or 1)
  $auto_iptc_default = 0; //auto insert IPTC (0 or 1)
  $date_iptc_default = 0; //auto insert date from IPTC (0 or 1)
  $detailed_default = 1; //detailed view (0 or 1)
  $auto_resize_default = 1; //resize images (0 or 1)
  $auto_thumbs_default = 1; //create thumbs (0 or 1)
  $subcats_default = 0; //include subcategories (0 or 1)
}

//----------| End Settings |---------------

and the picture is not copied, even the picture is resized....
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: V@no on March 15, 2005, 12:44:39 AM
do you mean from the following setting:
Code: [Select]
$dimension_default = $config['max_image_width']  ; //image dimension
Yes, thats the one. U can replace $config['max_image_width'] with a number u wish


and the picture is not copied, even the picture is resized....
that should not happend. what does it say in the logs? (after its "imported" it shows the log of what was done)
Title: Re: [MOD] Check new images in ALL categories v2.1.2
Post by: susigirl on March 15, 2005, 02:48:10 AM
What about my questions guys??? :cry:

Hi guys! Sorry for my %$#@ englisj!!! :D

This MOD is superSUPERB but it's giving me some problems (note that I din't said erros!), so I hope you can help me!!! :wink

Let's see:

 :idea: 1.- FEATURE REQUEST: checkimages.php only works for images uploaded directly by me (the admin). Is there a way to make it work with user's images too? I love to have 3 different sizes for the images (thumbnail, detailed view and original in big folder), but I NEED this for the users too! :cry: I always validate images except for some users.

 :?: 2.- BUG? I have the SLL's annotation watermark MOD installed too, but when I use it through checkimages.php only the thumbnails are watermarked!!! :? I don't care it I have watermarked thumbs but I at least want the mark for the detailed images too!!!

 :!: 3.- HELP!!! How to use big folder's images??? I mean: how do I link them from details.php and only for registered users??? How do I show the size and weight of both images just like V@no has in his site?

Too much work??? Is it so difficult to let checkimages.php to work with the tmp_media folder? What about direct uploads? Am I asking too much??? Sorry!!! And I'm really sorry if this have been asking before!!!

Thank you so much guys!!! :wink:

 :roll: :) :P
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: TIMT on March 15, 2005, 09:26:24 AM
Hi V@no

I have changed the settings as follow:
Code: [Select]
$big_folder_default = "original";
Then I have created the following folder (755 everytime I change the rights on 777 it is re-changed by the system to 755)
.../media/number_of_category/original

In the ACP (Auto Risizer) the Folder "original" is displayed

Then I deactivate the flag "all picture" and chose a single one (the first picter on the list)

The name of the picture is displayed automaticly

I enter the description and the keywords.

All other information is per default ok.

Now I click on the button "add"

The log shows the following information:
Working on data/media/2/fenster.jpg file:
Copied original file into data/media/2/original/ folder.
Image resized.
Created thumbnail.
Bild erfolgreich hinzugefügt: Blaue Fassade

In data/media/2/original/ exist no files...
And description and keywords are not stored in the database.




Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: V@no on March 15, 2005, 09:42:28 AM
1) u dont need create any folders, the script will create them automaticaly if needed
2) I just tryed on 4images v1.7 and everything worked just fine...are u sure u have the lattest version of this mod?
3) what 4images version do u use?
4) just for testing purposes, remove all @ from the checkimages.php and see if any error messages showed.
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: TIMT on March 16, 2005, 12:05:30 AM
Hi V@no

Everything is perfect!
I had a permission problem (safe_mode).

The picture is copied in the folder "original" and key / description is stored in the database!

Thank you for this MOD.

Serge
Title: Re: [MOD] Check new images in ALL categories v2.1.2
Post by: susigirl on March 16, 2005, 12:32:51 AM
PLEASEEEEE!!!!  :cry:


What about my questions guys??? :cry:

Hi guys! Sorry for my %$#@ englisj!!! :D

This MOD is superSUPERB but it's giving me some problems (note that I din't said erros!), so I hope you can help me!!! :wink

Let's see:

 :idea: 1.- FEATURE REQUEST: checkimages.php only works for images uploaded directly by me (the admin). Is there a way to make it work with user's images too? I love to have 3 different sizes for the images (thumbnail, detailed view and original in big folder), but I NEED this for the users too! :cry: I always validate images except for some users.

 :?: 2.- BUG? I have the SLL's annotation watermark MOD installed too, but when I use it through checkimages.php only the thumbnails are watermarked!!! :? I don't care it I have watermarked thumbs but I at least want the mark for the detailed images too!!!

 :!: 3.- HELP!!! How to use big folder's images??? I mean: how do I link them from details.php and only for registered users??? How do I show the size and weight of both images just like V@no has in his site?

Too much work??? Is it so difficult to let checkimages.php to work with the tmp_media folder? What about direct uploads? Am I asking too much??? Sorry!!! And I'm really sorry if this have been asking before!!!

Thank you so much guys!!! :wink:

 :roll: :) :P
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: V@no on March 16, 2005, 12:43:35 AM
:idea: 1.- FEATURE REQUEST: checkimages.php only works for images uploaded directly by me (the admin). Is there a way to make it work with user's images too? I love to have 3 different sizes for the images (thumbnail, detailed view and original in big folder), but I NEED this for the users too! :cry: I always validate images except for some users.
there is no such mod

:?: 2.- BUG? I have the SLL's annotation watermark MOD installed too, but when I use it through checkimages.php only the thumbnails are watermarked!!! :? I don't care it I have watermarked thumbs but I at least want the mark for the detailed images too!!!
I'd guess u made a misstake during installation.

:!: 3.- HELP!!! How to use big folder's images??? I mean: how do I link them from details.php and only for registered users??? How do I show the size and weight of both images just like V@no has in his site?
this question would be more appropriate to the "Open big image in a new window" mod.
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: susigirl on March 16, 2005, 12:57:29 AM
Sadly not the answers I was looking for (specially the first), but at least they are answers!!! :D

Thank you very very very much!!!

Kisses! :wink:
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: G4 on March 19, 2005, 10:49:58 AM
maybe this could help

http://www.4homepages.de/forum/index.php?topic=6622.0
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: that Dude on March 19, 2005, 12:25:56 PM
Does anyone know where I can find "watermark v2 by SLL" since " [MOD] Check new images in ALL categories v2.10.3 " works with that mod? I did a search in this board as well as "V@no's Gallery" and the only thing I can find is "Annotation v1.4 by SSL". Thanks.
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: soasuk on March 31, 2005, 06:00:41 PM
The mod fully works for me, with the exception of the automatic annotate feature, any ideas would be welcomed.
thanks, soasuk

Code: [Select]
Warning: imagesx(): supplied argument is not a valid Image resource in /home/soasukd/public_html/gallery/includes/annotate.php on line 176

Warning: imagesy(): supplied argument is not a valid Image resource in /home/soasukd/public_html/gallery/includes/annotate.php on line 177

Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/soasukd/public_html/gallery/includes/annotate.php on line 184

Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/soasukd/public_html/gallery/includes/annotate.php on line 185

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/soasukd/public_html/gallery/includes/annotate.php on line 186
Working on data/media/6/greasyoly_foss.jpg file:
Added annotation in data/media/6/greasyoly_foss.jpg file.
Created thumbnail.
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: V@no on March 31, 2005, 09:59:38 PM
guys, please dont reply under this topic regarding some other mod!
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: soasuk on April 01, 2005, 02:22:23 PM
V@no, i know my question is not entirely related to this topic, however the issue only arises when calling from your mod, because of this i thought you may be able to help?
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: V@no on April 01, 2005, 08:42:04 PM
well, the sollution is not to use annotation...I'm not goin to change anything to support prior version then v2 of the annotation mod. Sorry.
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: arindra on May 03, 2005, 02:08:47 PM
V@no ,
i have this mod working on my gallery (http://www.discusstv.com/gallery) . I am on 4images 1.7 . I want to know if there is a way , i can automatically rename the IMAGE file in a different random way from the THUMBNAIL file , while running Check New Images or Validate Images .
This is because currently many members are taking advantage of the Pic Security issue by copying THUMBNAIL shiortcut and pastingit and changing it to MEDIA and gettng the full image even without loging in.

Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: V@no on May 03, 2005, 02:36:05 PM
1) I'd suggest u rename your data/media folder to something else
2) try replace:
Code: [Select]
          $file = str_replace(" ", "_", $image_thumb_file);with this block:
Code: [Select]
          mt_srand((double)microtime() * 1000000);
          $file = mt_rand(0, 999999);
//          $file = str_replace(" ", "_", $image_thumb_file);
(absolutely not tested ;))


P.S. updated to v2.10.4
Title: Re: [MOD] Check new images in ALL categories v2.10.4
Post by: arindra on May 03, 2005, 02:59:39 PM
i will find / replace the above code in which file ? image_utils.php or admin_functions.php ?  :oops: :|
Title: Re: [MOD] Check new images in ALL categories v2.10.4
Post by: arindra on May 03, 2005, 03:15:45 PM
V@no ,
i was guessing you meant in the file " checkimages.php " . I tried changing that code , and it gives
Code: [Select]
could not select Database :(
Title: Re: [MOD] Check new images in ALL categories v2.10.4
Post by: V@no on May 03, 2005, 11:50:59 PM
V@no ,
i was guessing you meant in the file " checkimages.php " . I tried changing that code , and it gives
Code: [Select]
could not select Database :(
obviosly u've changed something more then supposed to...the changes I've provided could not possible cause the error u've mention, unless u did something wrong.

P.S. and yes, this mod is about chechimages.php, I dont know why u had an idea about image_utils.php or admin_functions.php ;)
Title: Re: [MOD] Check new images in ALL categories v2.10.4
Post by: arindra on May 05, 2005, 06:33:44 AM
hi V@no ...
i understand that . Anyway ... the db not found problem was a mistake ... but still the file names didnt change to anything random after that code ( now succesfully inserted ) . take a check on this category latest images : http://www.discusstv.com/gallery/cat101.htm for example . anythign after 6305 . if u want i can PM u further details .
Title: Re: [MOD] Check new images in ALL categories v2.10.4
Post by: harry216 on May 06, 2005, 09:49:54 PM
Hello,

I have a problem with ImageMagick and GD. I have a Server at Strato with root conection. First i had installed Linux 9.0 with Visas (There are no problems GD and ImageMagick run with no errors). Then i have installed Linux 9.0 with Confixx (There are many problems). I must Installed this beause at the same server run oscommerce, and with VISAS the gift module will not run.

So I Have Installed Linux with Confixx and after this i copy 4 homepages back to the server and installed ImageMagick. When i type whereis convert i get this "/usr/local/bin/convert" it's the same directory it was on Linux with Visas. when i type convert in the console with root conection it will executed.
But under 4homepages/administrator panel the programm will not be found there.

GD will only run when i upload pictures from the website. Under Admin Panel the pictures will put in the date base but will not resice and no thumbs will created.

did anybody know what i can do .....????

thanks

Harry
Title: Re: [MOD] Check new images in ALL categories v2.10.4
Post by: V@no on May 06, 2005, 10:00:46 PM
Hello,

I have a problem with ImageMagick and GD. I have a Server at Strato with root conection. First i had installed Linux 9.0 with Visas (There are no problems GD and ImageMagick run with no errors). Then i have installed Linux 9.0 with Confixx (There are many problems). I must Installed this beause at the same server run oscommerce, and with VISAS the gift module will not run.

So I Have Installed Linux with Confixx and after this i copy 4 homepages back to the server and installed ImageMagick. When i type whereis convert i get this "/usr/local/bin/convert" it's the same directory it was on Linux with Visas. when i type convert in the console with root conection it will executed.
But under 4homepages/administrator panel the programm will not be found there.

GD will only run when i upload pictures from the website. Under Admin Panel the pictures will put in the date base but will not resice and no thumbs will created.

did anybody know what i can do .....????

thanks

Harry
so, other words u dont install webserver nor PHP separately, it comes with the linux installation? what kind of webser/version and php version is it?

I assume u have access to the log files, any error messages logged there?

ACP does not provide auto thumbnail creation or image resizer when u upload images from there. U must manualy execute "Auto thumbnailer" and/or "Auto image resizer".
Title: Re: [MOD] Check new images in ALL categories v2.10.4
Post by: harry216 on May 07, 2005, 08:24:33 PM
Hello V@no,

yes it's a complete linux paket with:
SuSE Linux 9.0
PHP Version 4.3.3
Apache 2.0.48
MySQL 4.0.15
ImageMagick 5.4.8 after this i installed 6.2.2
GD Version ???

Yes I have access to the log files, but i don't find the log's .... where can i find it ... is there an option in the php.ini that i must do that the errors will locked ???

I executed "Auto thumbnailer" and "Auto image resizer". But on Auto image resizer there come the message that the picture willl converted but don't do it. It will stopp on the first image with no errors.
The same with  "Auto thumbnailer"

and when i use your MOD / Check new images in ALL categories v2.10.4 no funktion the site will be blank....


I have installed 4homepages new..... but there are the same errors....

I find out that only pictures that are not bigger than 250 kb imported correct. Pictures bigger than 250 kb there were the errors.

under Admin i have that the maximum file size to 3000 kb.

what can i do ????

is there an option in php.ini or anywhere ??? that i must do ....???

thanks
Harry


Title: Re: [MOD] Check new images in ALL categories v2.10.4
Post by: harry216 on May 08, 2005, 12:53:07 AM
Hello V@no,

I found the error....

in php.ini i have set the executing time higher .... then there was no error anymore...

thank you for your help....

harry
Title: Re: [MOD] Check new images in ALL categories v2.10.4
Post by: Vincent on May 08, 2005, 06:27:16 PM
V@no
i still hoping in this mod the ability to have a upload date and a picture taken date!

 :( vincent
Title: Re: [MOD] Check new images in ALL categories v2.10.4
Post by: jaimecb on August 01, 2005, 06:37:03 AM
ok the mod work´s .. but... if i click on download.. the image tha download me is the small image... and not the big image...
who can i modify the download link for donwload the big image...  :? :? :?

 :oops:sorry for my very poor english

thanks
Title: Re: [MOD] Check new images in ALL categories v2.10.4
Post by: ID25 on August 14, 2005, 10:39:17 PM
after search "ALL" dir:
Quote
Warning: OpenDir: Invalid argument (errno 22) in C:\MyServ\www\images\admin\checkimages.php on line 754
four times(because no 4 dir)..

if there is no directories = problem
Title: Re: [MOD] Check new images in ALL categories v2.10.4
Post by: V@no on August 15, 2005, 03:33:02 AM
I deliberetly didnt supress any possible error messeges, so the administrator could see if something wrong with their 4images installation.
So, in your case, I belive you have a category but the folder assigned to that category is missing (?)
Title: Re: [MOD] Check new images in ALL categories v2.10.4
Post by: ID25 on August 15, 2005, 07:50:34 PM
there is little bug i say ;)
if some categories deleted not from 4images script, there wite: warning

i think you must write to the script:
if no category --> search other, but without warning messages :)

there just friendly advice ;)
Title: Re: [MOD] Check new images in ALL categories v2.10.4
Post by: V@no on August 15, 2005, 11:58:46 PM
First of all, you should NOT delete folders through ftp and leave info about them in the database.
Second, please stop calling every single thing u THINK is wrong as a bug. Its not a bug, its a feature!
Title: Re: [MOD] Check new images in ALL categories v2.10.4
Post by: ID25 on August 16, 2005, 12:48:04 AM
because my english "very good".... ;)

at now i know, there is a feature :)
whitch need to this script...
because, i think 4images best script for all images(swf,jpg,avi...)
and need better features to make professional script in the world :)
Title: Re: [MOD] Check new images in ALL categories v2.10.4
Post by: Matthias70 on August 22, 2005, 04:57:50 PM
Hi V@no,
in the next update an option: "only add watermark to big images" would be nice  :wink:
Means the image on detail.html is only resized and the big original image is saved in the big-folder and gets a watermark.

Thank you
Matthias
Title: Re: [MOD] Check new images in ALL categories v2.10.4
Post by: shepherd-girl on September 03, 2005, 12:40:03 PM
the fallowing images table is not coming up in my cpanel.. why is that.
Title: Re: [MOD] Check new images in ALL categories v2.10.4
Post by: MRJEE on September 30, 2005, 11:05:35 PM
Hello!

Iam setup MOD "Check new images v2.10.4" and also MOD "BIG image in new window"
When i added new images, and click on "Сheck new images" i have this post:

Notice: Undefined index: auto_image_quality in z:\home\gallery\www\admin\checkimages.php on line 32
Notice: Undefined variable: inbox_new in z:\home\gallery\www\admin\checkimages.php on line 171

Warning: Cannot modify header information - headers already sent by (output started at z:\home\gallery\www\admin\checkimages.php:32) in z:\home\gallery\www\admin\admin_functions.php on line 168

Warning: Cannot modify header information - headers already sent by (output started at z:\home\gallery\www\admin\checkimages.php:32) in z:\home\gallery\www\admin\admin_functions.php on line 169

Warning: Cannot modify header information - headers already sent by (output started at z:\home\gallery\www\admin\checkimages.php:32) in z:\home\gallery\www\admin\admin_functions.php on line 170

Warning: Cannot modify header information - headers already sent by (output started at z:\home\gallery\www\admin\checkimages.php:32) in z:\home\gallery\www\admin\admin_functions.php on line 171

Warning: Cannot modify header information - headers already sent by (output started at z:\home\gallery\www\admin\checkimages.php:32) in z:\home\gallery\www\admin\admin_functions.php on line 172


Iam not found variable "$inbox_new" in *.php files. What is this? Where is defined?

And script "No Search Results"

Sorry, my English bad.
Title: Re: [MOD] Check new images in ALL categories v2.10.4
Post by: V@no on September 30, 2005, 11:20:47 PM
fixed in v2.10.5

Thank you.
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: TIMT on October 22, 2005, 10:32:19 AM
where in the settings can I define the "default" for "Image file size in Pixel". Now the value 99999 is shown.
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: Matthias70 on October 23, 2005, 02:15:42 PM
Hi,
does an enhanced version of "Validate images" feature in ACP, exist, too.
I have searched the forum, and can't find somthing simliar like this mod, but for "validate images"

Matthias
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: impss on October 29, 2005, 04:48:22 AM
I replaced my original file with this one and I get

Notice: Undefined variable: caption in C:\..\admin\checkimages.php on line 1190
 
Notice: Undefined variable: keywords in C:..\admin\checkimages.php on line 1191

what could the problem be?

Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: V@no on October 29, 2005, 06:54:00 AM
below:
Code: [Select]
require('admin_global.php');add:
Code: [Select]
error_reporting(E_ALL ^ E_NOTICE);
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: TIMT on October 29, 2005, 08:57:15 AM
Quote
where in the settings can I define the "default" for "Image file size in Pixel". Now the value 99999 is shown.

who can give me a hint?
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: V@no on October 29, 2005, 09:18:05 AM
Code: [Select]
$dimension_default = $config['max_image_width']; //image dimension
$dimension_thumbs_default = $config['auto_thumbnail_dimension']; //thumbnail demension
by default it uses values from your 4images settings, you can change $config['max_image_width'] and $config['auto_thumbnail_dimension'] with your numbers.
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: TIMT on October 30, 2005, 09:17:15 PM
thank you, V@no  :D
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: V@no on November 02, 2005, 07:59:15 PM
actualy its "normal" if you are using GD module. It does not preserve IPTC nor EXIF information in the image if it was manupulated (resized).
I dont have sollution for this, sorry.
With ImageMagic module its possible to save that info, but something must be changed in image_utils.php..I'm not quiet sure what exactly though...Try search google, if you can dig something out, maybe we can implement it into 4images ;)
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: Bear on November 22, 2005, 12:01:16 AM
Using this mod for some time now, very good thank you.

As i upload batches of images then use your mod to find new images and resize, activate, install etc.
Is it possible to have an option added to image name,  that i can name or re-name all the images to the same name in one go, at present i am having to rename them one by one.

Appreciated
Thank you
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: V@no on November 22, 2005, 12:49:28 AM
For now we have batch copy/move/edit images mod
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: Bear on November 22, 2005, 03:25:28 PM
i will have a look at that mod
thanks for your reply
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: troopers on November 25, 2005, 04:21:25 PM
hi,

is it possible to add a "del this picture" function ? this would be very nice :D


greets from berlin.

Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: Jockl on January 04, 2006, 01:51:02 PM
Hi!

I've got a problem.

I can add pictures when i don't use the auto resizer or auto thumbnailer. when i use one of them, then i get a failure - "Die Seite kann nicht angezeigt werden"

what could be the problem?

thx
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: V@no on January 04, 2006, 02:50:16 PM
when i use one of them, then i get a failure - "Die Seite kann nicht angezeigt werden"
Which means?
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: ruudvroon on January 04, 2006, 04:07:35 PM
I would really like an option to delete some pictures when using "Check New Images", because when I have a lot of pictures I always upload them to my FTP. Often there's still a "bad" image, which I forgot to delete. Now I can only turn that image off but it will appear again the next time I use Check New Image. Now I have to remember the Image name, do to the FTP and delete the image. That's a lot of work, so and delete option would me great.
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: Jockl on January 04, 2006, 04:17:49 PM
Which means?
This page can not be displayed.
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: V@no on January 05, 2006, 01:06:57 AM
This page can not be displayed.
And can you resize, create thumbnails through ACP at all?
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: Jockl on January 05, 2006, 07:14:21 PM
And can you resize, create thumbnails through ACP at all?
Creating thumbnails is no problem. Resizing pictures is sometimes a problem.
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: V@no on January 06, 2006, 12:20:07 AM
Then its sounds like your server has very little memory limit set in php.ini but its only my guess. Without error logs I would not even bother try to guess any further ;)
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: ruudvroon on January 06, 2006, 12:15:42 PM
I would really like an option to delete some pictures when using "Check New Images", because when I have a lot of pictures I always upload them to my FTP. Often there's still a "bad" image, which I forgot to delete. Now I can only turn that image off but it will appear again the next time I use Check New Image. Now I have to remember the Image name, do to the FTP and delete the image. That's a lot of work, so and delete option would me great.
someone please?
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: amordeo on January 16, 2006, 05:57:43 PM
Ich habe ein Problem mit diesem Script.
Wenn ich z.-b 100 Bilder hinzufügen möchte, fängt er an Tumbnails und die originale zu verkleiner.  auf der nächsten seite zeigt er das log an, bilder wurden korrekt verkleinert, doch plötzlich kommt folgender fehler:

Code: [Select]
Fatal error: Maximum execution time of 30 seconds exceeded in /fotodb/includes/image_utils.php on line 81
machmal auch dieser:

Code: [Select]
Fatal error: Maximum execution time of 30 seconds exceeded in /fotodb/includes/image_utils.php on line 83
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: Flatermann on February 15, 2006, 09:22:05 PM
Is is posible to set a  standard date and catogorie, befor leting him put in all pic in databank .   the thing is i lost like half of my pic in the databank for a few days ago . and now what to upload thouse in a special catagorie all to gether and give themn the date  were they were lost so they arnt markt new and not schon on  home as new images !!!! thats over 500 pic i would havto set up per hand new  :(((
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: V@no on February 16, 2006, 12:28:47 AM
The only thing I could suggest at the moment is use this mod:
http://www.4homepages.de/forum/index.php?topic=6759.0
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: Flatermann on February 16, 2006, 12:44:34 AM
on that mode i cant pick a catagory and date uploaded :(((  Upps date yes but not catagory .
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: V@no on February 16, 2006, 12:49:43 AM
huh?
You add all your images, then go to edit images link, select category you want enter other search parameters, hit "search" button and then select needed images and hit "edit" button, there you can change date of all selected images.
Or you can edit date for each image individualy by enabling under "Quick edit" the "Date" option and then hit "search" button.
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: IcEcReaM on February 16, 2006, 12:54:50 AM
@amordeo

Lass weniger Bilder durchlaufen.

Der Server hat ne voreingestellte Zeit, wie lange ein Skript maximal laufen darf,
und wenn diese überschritten wird,
wird das Skript abgebrochen und diese Fehlermeldung erscheint.
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: Eagle Eye on March 05, 2006, 11:21:19 AM
@ V@no

First of all thanks a lot for this mod, I got addicted to it...

I have been noticing one strange problem; to explain it let us imagine I want to add 100 photos
1) I upload the photos to the appropriate directory in data/media/
2) Using the check for new images MOD... and ok with default settings 30 images at one time....and press add....
3) Now sometimes, a blank page or timeout page (this page cannot be displayed page..) is returned... now starts the mess...
4)  If I use file check mod, it shows many images with thumbnails missing.... ( I am stuck now...) on site these images are already there wihout the thumnails.
5) If I use auto thumbnail, then double thumbnails are logged into database with one original image and the result is: http://hotdt.com/download-anna-kournikova-30.htm
6) If I delete the second images from edit image, then its a complete mess, remains just one variant without its "big" image or "detailed" image...just its thumbnails!!!
7) Now all I can do is delete this complete set and re-upload and try to repeat without getting the first error....

Is there a way to just remove these thumbnails from database without its detailed image getting removed?

I guess this problem is when there are images to be worked with at one time; like when I use number of images as "5" to work at one time its ok... but its neck breaking if we want to add some 300+ images at one time  :cry:

Any way to solve it?
Any help will be appreciated
with regards  :D
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: nika2000 on March 06, 2006, 01:57:29 PM
Hi!

Is it possible to make the description and keywords editable like the picture-name?
After activating new images I have to edit description and keywords for each picture and that needs much time :-(....
It would be nice to do while checking the pictures.

Greetings, Nika
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: V@no on March 06, 2006, 02:22:12 PM
Either use "detailed view" or use this (http://www.4homepages.de/forum/index.php?topic=6759.0) mod.
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: nika2000 on March 06, 2006, 02:28:45 PM
Thanks!
That's what I was searching for....
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: Optimum on March 23, 2006, 03:09:06 PM
This one is another great mod that is a "must have".
I got it to work in no time and it's great.

There is one thing however. It's been asked before, but I'll ask anyhow.
It works great for image that aren't in the db, but would there be a way
to use this (mainly resizer and mover to "big" folder) for images uploaded
through the CP?
Perhaps I should ask a different way, could there be an option in "Add images"
that would offer an option to add the image to the db or not?
You know what I mean? It would upload the file to the folder, but if you'd
have the "Add image to DB?" option turned OFF, it wouldn't add it, so you
could find it with this mod and modifiy it further.
Could something like that be done?

TIA!
Mat
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: V@no on March 23, 2006, 03:43:43 PM
Sorry, I dont see why would you needed it...upload your files via FTP its faster, easier and more practical.
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: Optimum on March 23, 2006, 03:57:48 PM
Yes, that's the way I'm doing it, but I'm uploading in bunches, not 1-3 files at a time.
But to be honest, would be great to have that if you need to upload just an image or two. It would resize automaticaly (copy to big folder without the need to manualy make folders and resize the image), make annotations (if I manage to get it working), make thumbs as well..

But the big problem for me is, I have two other people (also admins) who don't know ANYTHING about Photoshop, ftp programs, etc.. so they'll only use that Add Image function. Right now, I'm not even sure if they can upload big pictures (with the required big folder, for your "Open in new window mod"). Only small ones I think. And even with that, I'd have to teach them how to upload, how to resize and how to thumbnail. You made a great mod I just though a option like this would bring it closer to the less technical people.
I just thought it would be great if you could do the whole thing with two-three clicks. Fastest and easyest for 1-3 images imo.

Regards,
Mat

Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: V@no on March 24, 2006, 12:53:31 AM
I guess, you've lost...this mod does exactly that. All you need is upload big images into /data/media/xx/ folders and run the check images script, it will create big folders (if needed), resize images, create thumbnails and add annotation. just set it up properly and you all set.
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: Optimum on March 24, 2006, 08:17:21 AM
Yes V@no, I know that, I've been using it that way, that's why I installed it ;)

BUT, this works ONLY if you ftp the files, doesn't work if you use the Add Images function, right?
And there is my problem. I'd like to use it for those files as well. I know the "problem" is, that Add Images also adds them into the database. So the thing to do here, is to modify the Add Images and add an option "Write to DB?". That way, when turned off, images wouldn't be written to the DB and I could use your Check Images mod to work with them..
You know what I mean? Could it be done?

TIA,
Mat

EDIT: Problem fixed through Add Images.
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: Gwydion on April 08, 2006, 04:51:42 PM
That's a great mod.
JUst one question - not sure if it's from the mod or custom settings.
If I want to display 100 images (new) and set auto-resizer to off automatically where would I change that?
Currently the standard setting is 30 to display and resizer on.
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: V@no on April 08, 2006, 05:51:35 PM
search in the file for number 30 and replace with number 100 ;)
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: Gwydion on April 08, 2006, 08:37:40 PM
Um .. which file?
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: V@no on April 08, 2006, 10:15:21 PM
c'mon! :?
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: Gwydion on April 08, 2006, 10:35:38 PM
I have added that mod a while ago and I have not much knowledge about how such scripts work.
Sorry. :/
Is it checkimages.php?

ETA: silly me. Of course it is. Thanks! :)

Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: V@no on April 08, 2006, 10:39:23 PM
yes...
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: arny on April 09, 2006, 03:09:45 AM
hello, can you tell me one thing?
i need to know if this mod solve my problem
i use to upload the files and search for new images, after that i have to select in all images wich category goes to.
with this mod i can send all new images to one category with one click?

bes regards from portugal
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: V@no on April 09, 2006, 09:13:19 AM
sorry, I dont understand what is you are trying to do...
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: arny on April 09, 2006, 11:32:44 AM
when i search for new images to add to database i have to select the category fot every picture, what i'm trying to do is select only one time.
thank you
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: V@no on April 09, 2006, 11:37:59 AM
Its not available, but the work around is to upload images into correct categories in the first place.
all you have to do for that is go to categories settings, find out what ID is the category where you are planning to upload images to and then upload images into data/media/XX (where XX is the category ID) - done.
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: arny on April 09, 2006, 11:40:42 AM
 :lol: Thank you, i idid,n know that trick
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: Kjeld on April 22, 2006, 03:38:31 AM
V@no,

I never had a good look at this mod until now. It is a beaut. I have installed it and it works great. THANKS. I now also finally understand the comment you made at http://www.4homepages.de/forum/index.php?topic=12583.msg67700#msg67700

I have one question.

You have a very elegant solution for including or excluding the iptc data:

Code: [Select]
  $auto_iptc_default = 1; //auto insert IPTC (0 or 1)
  $date_iptc_default = 1; //auto insert date from IPTC (0 or 1)

I would like the option to include or exclude the iptc name as well. Something like this:

Code: [Select]
  $auto_iptc_default = 1; //auto insert IPTC (0 or 1)
  $name_iptc_default = 0; //auto insert name from IPTC (0 or 1)
  $date_iptc_default = 1; //auto insert date from IPTC (0 or 1)

How do I do this?
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: V@no on April 22, 2006, 10:53:47 AM
try v2.11 ;)
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: IWS_steffen on April 24, 2006, 10:28:20 PM
thanks V@no

thank you very much!!!

I got this now

Steffen
Title: Re: [MOD] Check new images in ALL categories v2.10.5
Post by: Kjeld on April 28, 2006, 11:28:20 PM
try v2.11 ;)

Wonderful, V@no. Thanks a lot!  :D
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: Mrs Allman on July 12, 2006, 10:42:25 AM
Wow. Thank you. :D
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on July 12, 2006, 02:53:00 PM
hello vano, thank you for the nice extensions...
i have the language (see below) modified

Code: [Select]
echo "<td>Found in: ".(($cat_name == "" && !$key) ? "[root folder]" : "$cat_name (ID:$key)")."</td>\n";
you can do modified this???
Ops...missed your question...
do you mean, that line is not added into "language" variables?
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: dalichi on July 25, 2006, 08:05:50 PM
hello

This MOD is sweet, its exactly what I'm looking for!  However, it seems I have problem connecting to the site: http://gallery.vano.org

Can anyone send a copy to me please? Thanks in advance.

dailchi@hotmail.com
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: dalichi on July 26, 2006, 04:42:55 PM
Thanks Ivan, file downloaded
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: babe on September 07, 2006, 04:06:35 PM
Anyone using this flawlessly with 1.7.3?
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: paburmester on September 23, 2006, 04:03:24 AM
this mod works in 1.7.3 ?
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on September 23, 2006, 04:09:40 AM
yes
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: paburmester on September 23, 2006, 05:11:08 AM
once again.. thank you very much!
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: berlinfotos on October 09, 2006, 03:33:49 PM
Hello V@no,

i just wanted to say that your MOD is he best: really useful and simply to install (even for an amateur like me).

thanks a lot,
robert
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: M@2T on October 13, 2006, 01:26:53 AM
I have been waiting for a while for an update on this mod, but just noticed that someone asked if it works with 1.7.3 and the answer was yes. Well, mine doesn't work properly anymore. If this is due to me using 1.7.3 or something else, I don't know, all I know is that I get lots of errors every time I use the mod, plus it doesn't make all the thumbnails automatically. It makes some, but not all, which is strange. I would show you what error I get but since I just added all my new images I can't see the error anymore, but if this is important I will add a new image and show you the error. Another strange thing, the mod does the job of adding the pictures (like I said, some without thumbnail), but still comes up with lots of errors.

Any way to fix this? :)
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: gegy on October 24, 2006, 10:12:39 AM
Please add the newest version of this mod... i tryed an older one wich is postet some posts bevor and
i got an error wenn i want to add new pictures, so please post the latets version once more, so that i can download it and install. THX very much for this very great mod!! (and sorry for my bad english *smile*)
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: ipicture on October 24, 2006, 02:36:09 PM
Hi all,
I use the mod for over 20.000 pics - fantastic. After a look into the database I have seen an emtpy field "image_city", which will not imported by the Iptc-data (IMatch-field: Location_city; PS-field: Ort).

I tried to add the specified progs in the "checkimages.php", when I copy all relevant "description"-lines an change the word to "city".

Unfortunallity it doesn´t work - ok, I´m not good in php.

Question:
Is it possible to add more iptc-data (image_city...) into database (instead of name, keywords, description, date) ? For example add fields named "country code" or "supplemental category" or "headline" ?

Thanks for help
Greetings
Klaus
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: Lunique on October 30, 2006, 08:53:28 PM
Hi all,
I use the mod for over 20.000 pics - fantastic. After a look into the database I have seen an emtpy field "image_city", which will not imported by the Iptc-data (IMatch-field: Location_city; PS-field: Ort).

I tried to add the specified progs in the "checkimages.php", when I copy all relevant "description"-lines an change the word to "city".

Unfortunallity it doesn´t work - ok, I´m not good in php.

Question:
Is it possible to add more iptc-data (image_city...) into database (instead of name, keywords, description, date) ? For example add fields named "country code" or "supplemental category" or "headline" ?

Thanks for help
Greetings
Klaus

I just wanted to ask the same!
I need "category" and "supplemental categories" if possible. But maybe you can tell me how to modify the files myself. I don't know much about php but you always write such sipmle instructions for all your mods so maybe you can also tell me this if it's not to difficult.
Would be great!
Hugs, Luna
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: Lunique on October 31, 2006, 10:40:50 AM
hi manül

schau im allerersten posting von vano, direkt vor seiner signatur, da gibts die php-datei zum download.

Gruß, Luna
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: osnapicture on November 14, 2006, 08:48:00 PM
if i enter an url from the original sized picture to download the original sized picture insted an empty field nothing happens. it is downloaded the resized picture. what i'm doing wrong?
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: osnapicture on November 15, 2006, 05:17:29 PM
How to use big folder's images? How do I link them from details.php? How do I show the size of big images?
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: Acidgod on November 15, 2006, 07:23:07 PM
@osnapicture
Beiträge pushen und dazu noch neue Threads öffnen bringt dir ne Verwarnung!
Wir brauchen nicht 3 Beiträge von Dir mit einer Frage die hier schon min. 10 Leute gestellt haben!
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: osnapicture on November 15, 2006, 07:53:21 PM
wenn soviele gerne ne antwort haben wollen, dann ist es doch nur gut wenn die frage noch wer stellt... ;-)
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: Madgod on January 20, 2007, 02:08:38 AM
the rescan function doesn't work fine,

after adding an image, the rescan result will mess up in the image name
no matter in detail mode or not.

by the way, this program seem not support the multibytes file system. ex:Chinese or others
It will reduce the filename length, not keep the source name.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: kansaschuck on February 02, 2007, 01:52:09 AM
Is it (or could it be) possible to have check new images automatic?  Or an event that could be driven by an external event?  I'm looking at image loading automation.  I won't have a person loading the pictures but a PHP script.  After an FTP load I'd like the Check new images (ALL) to be invoked.....

You know... why is this needed at all?  New pics have been added....what would be the logic for thinking that we don't want them added and displayed?  Why is there an additional event/action required at all?   

just thinking.....

Chuck
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: Acidgod on February 04, 2007, 02:36:08 PM
You can modify it and can use cron to automating it...
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: webslingers on February 12, 2007, 07:43:05 PM
Can someone post the download file or email it to me... fubarnow@aol.com . Vano's site isn't working right now.

Thanks
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: webslingers on February 12, 2007, 08:25:18 PM
hi, file is on first site > first post > below

Not quite sure what that means. First site? The first site in your sig? I can't read that. First post? Thats the download I need. Below? I'm confused.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: CeJay on February 12, 2007, 08:33:37 PM
hi, file is on first site > first post > below

Not quite sure what that means. First site? The first site in your sig? I can't read that. First post? Thats the download I need. Below? I'm confused.
Look at the first post, at the very bottom of his post is his signature. Right above the signature there is a spot that says "* checkimages_v2.11.zip (10.35 KB - downloaded 337 times.)" and that is where the file is located. Just click on the link and you will be prompted.
Quote
My site is down. Files for MODs will be attached to the posts uppon requests.
So, please reply to the MODs topic if you need a file. But before you do that, check if file already attached.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: webslingers on February 12, 2007, 08:48:40 PM
Thank you. Please smack me now.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: rinaldos on February 13, 2007, 08:10:46 PM
Hello

It's a wonderfull mod and it work's perfectly :-) But since i have installed the Histogramm mod and i would like to check new images i see every time the histogramm's as a new image. Is it possible to disable the PNG Datafiles from checking?

Ingo


Vielleicht ist es auf deutsch eben besser erklärt :-)

Die Modifikation funktioniert einwandfrei. Nur seitdem ich das Histogramm MOD eingespielt habe bekomme ich nun laufend auch die Histogramms als neue Bilder angezeigt. Kann man irgendwo einstellen, das der MOD keine PNG Dateien anzeigt?
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: mawenzi on February 13, 2007, 08:33:42 PM
... man sollte die Histogramm-Bilder ja auch in einem gesonderten Ordner speichern lassen ...
... also nicht in den Kategorie-Ordnern ...
... aber ich glaube du bist schon fündig geworden, wo das nochmals genau erklärt wird ... ;)
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: rinaldos on February 13, 2007, 09:32:59 PM
Das mit dem ändern des Pfades hatte ich auch gemacht, aber dann wird das Histogramm nicht mehr angezeigt :-( Daher dachte ich, wäre es vielleicht einfacher die PNG Dateien von der Suche auszuschliessen.

Dacht könnte das Pferd mal seitwärts aufzäumen :-)

LG
Ingo
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: mawenzi on February 14, 2007, 01:05:02 AM
... steig mal ins andere Forum um ...  :wink:
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: bibabobu on March 20, 2007, 12:33:19 AM
Hallo!
Verwende 4images 1.7.4
Habe die checkimages.php wie angegeben hochgeladen.
Es funktioniert alles bis auf die thumbnail_preview.
Ich bekomme nur ein Platzhalterkreuz angezeigt.
Der Pfad sollte doch stimmen oder? Oder muß hier etwas angepasst werden?

Anbei ein Auszug aus meiner checkimages.php
Code: [Select]
define('IN_CP', 1);
define('ROOT_PATH', './../');
if (isset($_GET['action']) && $_GET['action'] == "showthumb" && isset($_GET['mode']) && $_GET['mode'])
  $no_zip = 1;
require('admin_global.php');

//--------| Default Settings |-------------

$quality_default = (isset($config['auto_image_quality']) && $config['auto_image_quality']) ? $config['auto_image_quality'] : 85; //image quality
$quality_thumbs_default = $config['auto_thumbnail_quality']; //thumbnail quality
$dimension_default = $config['max_image_width']; //image dimension
$dimension_thumbs_default = $config['auto_thumbnail_dimension']; //thumbnail demension
$max_dimension_default = 600; //displayed in preview image dimension (not image resizing)
$num_newimages_default = 30; //images per circle
$big_folder_default = "big"; //name of the "big" folder where original image will be copied to, if its bigger then size set in the settings.
$big_annotate = 0; //add annotation to the "original" images in "big" folder? (0 or 1)
$backup_orig = ""; //leave empty if u dont want backup files when it needed resize or add watermark (to preserve IPTC and EXIF headers) NO TRAILING SLASH!
$filter = 1; //use a filter on filenames. Any non-standart characters will be replaced with _ or just be deleted. (0 or 1)
$thumbpreview = 1; //create temporary thumbnails for preview if no original was found. (only for none-detailed view) (0 or 1)
$thumbpreview_quality = 70; //quality for temporary thumbnails
$thumbpreview_dimensions = 50; //max dimensions for temporary thumbnails
$thumbpreview_tempdir = 'data/temp'; //directory for temporary files. Must be writable (CHMOD 777).
$rescan = 1; //rescan for new images after first portion of images added (0 or 1)
if (!$mode)
{
  $annotate_default = (isset($config['annotation_use'])) ? $config['annotation_use'] : 0; //add annotation to the images (require "Annotation MOD" by SLL)
  $big_default = 0; //save original image (0 or 1)
  $iptc_date_default = 0; //auto insert date from IPTC (0 or 1)
  $iptc_keywords_default = 0; //auto insert keyword from IPTC (0 or 1)
  $iptc_description_default = 0; //auto insert captions from IPTC (0 or 1)
  $iptc_name_default = 0; //auto insert name from IPTC (0 or 1)
  $detailed_default = 0; //detailed view (0 or 1)
  $auto_resize_default = 0; //resize images (0 or 1)
  $auto_thumbs_default = 1; //create thumbs (0 or 1)
  $subcats_default = 1; //include subcategories (0 or 1)
}
Title: making default URL name
Post by: shayneNZ on March 22, 2007, 03:58:46 AM
Hello
I have all my large images stored on a different server because of there size.
When I check new images I would like the URL field to display the same URL by default.
I have managed to change the file so it will always be the same however I have to cut and paste the file name into the pre defined URL with every image.

This is what I have done so far:
Code: [Select]
show_input_row($lang['field_download_url'].$lang['download_url_desc'], "image_download_url_".$ii, "http://anotherserver/folder/.jpg", $textinput_size);   
I would like the name of the image to automatically be inserted before the ".jpg"

I cant quite fiqure this out, any help would be appreciated.

Thank You


Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: egyptsons on March 23, 2007, 07:52:39 PM
Thankssss  :wink: :wink:
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: vladmasters on April 25, 2007, 08:54:21 PM
GREAT CONTRIBUTION!  :lol: :lol: :lol: :lol: :lol:
 SEE MY GALLERY:  :arrow:http://paparazzo.4bes.net (http://paparazzo.4bes.net)
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: lukasino on May 24, 2007, 09:24:15 AM
Please help, i have 2200 category and 35.000 images. Checkimages work only when limit is 50 when i change to 500 files checkimages.php id download by browser. In fresh isntall works in 500 and 1000 and more but i have many category. any solution?. I have to add 5000 images an d add to 50 is slow.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: MaveriC on June 21, 2007, 12:42:15 PM
excellent mod! I was planning to work on this feature 2nite  :lol:
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: nhat_lang0000 on July 17, 2007, 03:53:38 PM
i have a problem using this mod... dont know why...
i just got this error 3 days ago using version.1.7.2 now just upgraded to 1.7.4...
and still got problem with the new checknew images downloaded from here.

Check new images log 
 
Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 13056 bytes) in /home2/choadaoo/public_html/lienhoa/gallery/includes/image_utils.php on line 80

 
 
when i checked, it's shown images, but when i added and it's shown this problem.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: webmaster73 on August 05, 2007, 02:03:42 AM

  • check in all categories at once
  • check in a category including its subcategories
  • auto resize
  • auto create thumbnails
  • auto insert IPTC info of name, description, keywords and date
  • if no thumbnails found, creates temp thumbnails in preview list
how can I thank you for this?

please tell me.

Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: webmaster73 on August 05, 2007, 02:10:31 AM
i have a problem using this mod... dont know why...
i just got this error 3 days ago using version.1.7.2 now just upgraded to 1.7.4...
and still got problem with the new checknew images downloaded from here.

Check new images log 
 
Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 13056 bytes) in /home2/choadaoo/public_html/lienhoa/gallery/includes/image_utils.php on line 80

 
 
when i checked, it's shown images, but when i added and it's shown this problem.


this is not a problem with the mod but with your php settings.

ask your host to increase your memory or reduce the number of images to look for at one time.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: webmaster73 on August 09, 2007, 04:12:20 PM
strange... 

both IE7 and FireFox started yesterday hanging on this checkimages.php

In windows task manager, I can see the browser is taking 50% of cpu and about 500,000K RAM!

Is it my ram or the modded script ?


Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: kyzer on August 18, 2007, 09:44:09 PM
Hi...
eih... this is not working in my website...  :(
I just uploaded it to server... should work right?
I press the button to check images and it doesn't return anything....

can anyone help me?

best regards
kyzer van deedje

www.acoresxtreme.com (http://www.acoresxtreme.com)
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: webmaster73 on August 18, 2007, 10:09:42 PM
Hi...
eih... this is not working in my website...  :(
I just uploaded it to server... should work right?
I press the button to check images and it doesn't return anything....

can anyone help me?

best regards
kyzer van deedje

www.acoresxtreme.com (http://www.acoresxtreme.com)

I would be happy to help you

I installed this mod on my arabic gallery, and it keeps on hanging both of firefox and IE

I installed it on my french and english sites, and everything is fine.

I can help you
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: juergen on September 17, 2007, 07:58:11 PM
Hallo zusammen,

ich habe checkimages_v2.11 in der Hoffnung installiert, daß die Download-Links nun auf die verbliebene Originaldatei im Ordner "big" verweisen. Damit geht das also nicht?

Wie kann ich das Feld "image_download_url" automatisch füllen lassen - ggf. kann das für alle Bilder der selbe Ordner sein - so dass zwar ein skaliertes Bild im detail erscheint, beim Download jedoch auf die große Originaldatei zugegriffen wird?

Vielen Dank vorab.
juergen
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: mawenzi on September 17, 2007, 08:08:02 PM
@juergen
... das lässt sich mit der Kombination aus einigen MODs umsetzen ...
... Kurzbeschreibung hier : http://www.4homepages.de/forum/index.php?topic=17870.msg95203#msg95203 ...
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: juergen on September 17, 2007, 09:48:57 PM
Vielen Dank!

falls noch jemand an image_download_url sucht:

http://www.4homepages.de/forum/index.php?topic=17527.msg93500#msg93500

Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: matosale on October 10, 2007, 07:31:06 PM
Hi!

As long as I know, the V@no site is down. Can anyone tell me where can I download the files from?
Thanks in advance ;)
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: thunderstrike on October 10, 2007, 08:55:01 PM
And as long as you know for this ?

http://www.4homepages.de/forum/index.php?action=dlattach;topic=4754.0;attach=979

is in first post (close to 2nd post) ...
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: matosale on October 10, 2007, 09:45:52 PM
crap...sorry, clicked the wrong link...  :oops:
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: simcor on October 12, 2007, 05:43:24 PM
Great mod! It's working fine for me (mostly) except it keeps logging me out of the admin interface and I keep having to log back in.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: Dr_Freud76 on October 30, 2007, 12:52:13 AM
Hi,

would i be possible that some can ad a javascript which automatic udate/reload the page, for reason you are working with a slow servermachine an the thumbnail creation and annotation process takes longer, so that you would't get an timeout (or that the page does not respond anymore), like SLL realized it in his "Image Annotation (Watermark) Mod"?

Do you know what i mean/need?

german:
Kann irgend jemand ein Javascript einbauen, welches die Seite, wie in SLL's "Image Annotation (Watermark) Mod" realisiert, und man so auch auf langseren Servern die Möglichkeit hat mehrere (alle/viele) Fotos auf einmal hinzufügen, ohne auf der Seite ein Timeout kommt oder die Seite gar nicht mehr reagiert?

Versteht ihr was ich meine/brauche

Danke & Liebe Grüße
Armin
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: MaveriC on October 31, 2007, 04:10:57 PM
excellent mod.. shud be part of the next release.. :)
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: ClickyMouse on January 30, 2008, 12:20:45 AM
It is possible to "swap places" of thumbnailing and annotation?

Because I like to have Thumbnails without annotation.

I need:
1.- Resize
2.- Thumbnail
3.- Annotation


Thanks!!
Title: Re: [MOD] Check new images in ALL categories v2.10.3
Post by: webmaster73 on February 21, 2008, 01:29:59 PM
1) u dont need create any folders, the script will create them automaticaly if needed
2) I just tryed on 4images v1.7 and everything worked just fine...are u sure u have the lattest version of this mod?
3) what 4images version do u use?
4) just for testing purposes, remove all @ from the checkimages.php and see if any error messages showed.

V@ano
adding images through this modified checkimages.php is soooo resource intensive that you are sure it will kill httpd apache.
Is this something you would expect? I am on my own VPS with 2GB of RAM. maybe the problem is related to the big number of categories I have.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: webmaster73 on February 21, 2008, 01:30:47 PM
excellent mod.. shud be part of the next release.. :)

definitely. this mod is probably the best that has ever been made to 4images.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: webmaster73 on February 21, 2008, 01:32:48 PM
Hi,

would i be possible that some can ad a javascript which automatic udate/reload the page, for reason you are working with a slow servermachine an the thumbnail creation and annotation process takes longer, so that you would't get an timeout (or that the page does not respond anymore), like SLL realized it in his "Image Annotation (Watermark) Mod"?

Do you know what i mean/need?

german:
Kann irgend jemand ein Javascript einbauen, welches die Seite, wie in SLL's "Image Annotation (Watermark) Mod" realisiert, und man so auch auf langseren Servern die Möglichkeit hat mehrere (alle/viele) Fotos auf einmal hinzufügen, ohne auf der Seite ein Timeout kommt oder die Seite gar nicht mehr reagiert?

Versteht ihr was ich meine/brauche

Danke & Liebe Grüße
Armin

Good to see am not the only one having this issue

es ist vielleicht nicht ein Problem mit dein server, aber diese checkimages.php ist sehr server-greedy

it kills my httpd apache every time I use it.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: rinaldos on February 21, 2008, 08:31:00 PM
Hello,
i used this mod for a long time, but i checked now my logfiles and found some errors :-(

Code: [Select]
Warning: getimagesize(./../templates/default/icons/.gif) [function.getimagesize]: failed to open stream: No such file or directory in /opt/lampp/htdocs/Website/includes/image_utils.php on line 162

If i set $thumbpreview = 1; to $thumbpreview = 0; then i have no errors. If i checked my images, i saw no thumbnails, only a red cross.

I think the error is in this function:

Code: [Select]
if ($thumbpreview)
          {
          $thumb_status .= "<br><img src=\"checkimages.php?action=showthumb&mode=".$image_list[$key][$i-1]."&cat_id=".$cat_id."\">";
        }
        show_hidden_input("image_thumb_file_".$ii, "");
      }

the thumbnailpath shown by checkimages.php is
urltomywebserver/admin/checkimages.php?action=showthumb&mode=IMG_4458.jpg&cat_id=20 but I do not know to fix the error. Any Ideas?

------

Ich habe diesen MOD schon vor langer Zeit installiert und er arbeitet. nur bekomme ich Fehler im Logfile angezeigt. Sobald ich die Funktion ausschalte, das er mir thumbnails anzeigen soll, dann kommen auch keine Fehlermeldungen ins LOGFILE. Mit der eingeschalteten Version zeigt er keine Thumbnails an und die Logfiles füllen sich.
Hat jemand eine Idee?

Die gleiche Frage wurde hier http://www.4homepages.de/forum/index.php?topic=4754.msg90473#msg90473 schonmal gestellt.

Gruß
Ingo

Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: jbtierfoto on March 25, 2008, 01:16:31 PM
so, ich habe die MOD auch installiert und es funktioniert alles. Alles - nicht ganz.....

ich clicke auf IPTC Daten als Schlüsselwörter übernehmen - aber leider ist die Zeichenanzahl meiner IPTC Daten anscheinend zu lang - zumindest schneidet mir die Übernahme immer wieder Wörter/Zeichen ab. Gibt es da eine spezielle Einstellung, wo ich die Anzahl der Zeichen in der IPTC Übernahme in die Schlüsselwörter der DB erhöhen kann?

Danke
Jochen
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: jbtierfoto on March 26, 2008, 07:58:08 AM
i will try it in english:

i installed the mod and all it is best - only the number of signs in keywords is minder than the number of signs in iptc. there are more words in iptc keywords than in 4homepages keywords. is ther an setting i can do?

kind regards
Jochen
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: navyseal on April 12, 2008, 01:43:56 PM
I am using suhosin extension on my box.

It shows a blank page when I click "add images" after searching using "check new images". [it works when I disable suhosin extension though)

But the same thing works with the original (one included in the 4images download) checkimages file.

I am using 1.7.6 version. I use php 5.2.4 with apache 1.3.41.

Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: Rembrandt on May 22, 2008, 05:49:53 PM
Hi!
Hello,
i used this mod for a long time, but i checked now my logfiles and found some errors :-(.........
Die gleiche Frage wurde hier http://www.4homepages.de/forum/index.php?topic=4754.msg90473#msg90473 schonmal gestellt....
ich im moment das gleiche problem, wie in dem gepostetn link.

hat da jemand schon eine lösung dafür.

mfg Andi
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: silentg on June 05, 2008, 12:22:14 AM
Hi,

I need the files for this mod.


thanks
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: Rembrandt on June 05, 2008, 05:17:28 AM
Hi!
...
I need the files for this mod....
in the first post http://www.4homepages.de/forum/index.php?topic=4754.msg19991#msg19991

mfg Andi
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: silentg on June 05, 2008, 07:26:24 PM
Thanks.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: nicolassc on June 22, 2008, 03:08:52 AM
Hi, I've installed the MOD (which by the day is great). Is it possible to automate this via a cron job? If so, what would be the command to run? I'm new to web hosting, etc so any help is appreciated.

Regards,
Nicoolas
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: jinglebells on November 08, 2008, 06:56:47 PM
Just a few words first why this post is here (hope it's the right place):
I was on my way to reply with my question to the above MOD, but system told me in bold red letters "Are you really want to do this - last post is older than 120 days, please consider to open a new topic".


OK, my question:
Just uploaded the above Mod (great solution by the way) and getting this error for each checked image:
    
Quote
Warning: main(./../includes/annotate.php) [function.main]: failed to open stream: No such file or directory in /mnt/web8/40/63/5971063/htdocs/4images2/admin/checkimages.php on line 542

Warning: main() [function.include]: Failed opening './../includes/annotate.php' for inclusion (include_path='.:/opt/RZphp4/includes') in /mnt/web8/40/63/5971063/htdocs/4images2/admin/checkimages.php on line 542
Working on data/media/1/pt_08_049_border.jpg file:
Copied file into data/thumbnails/9 folder.
Error adding annotation in data/media/9/pt_08_049_border.jpg file.
Created thumbnail.
Image added: pt 08 049 border

Don't have an "annotation" file in my ../includes folder.
Please, what kind of file is this and how to make it?

Thank you.

Jinglebells

Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on November 08, 2008, 07:02:23 PM
Set "Add annotation (watermark)" to "no".
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: jinglebells on November 08, 2008, 08:13:49 PM
Thanks V@no

Ähem, but what if I would like to have one?  :oops:
Create a jpg/gif/png file with my watermark and name it annotation.* and put it in this specific folder?

Jinglebells
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on November 08, 2008, 10:59:05 PM
You'll need this mod:
http://www.4homepages.de/forum/index.php?topic=13719.0
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: meier on January 27, 2009, 10:42:01 PM
Hallo, der Mod funktioniert bei mir nur bis 150Bilder. Bei mehr passiert nichts. Was könnte das sein?
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on January 28, 2009, 01:14:38 AM
Bei mehr passiert nichts.

Just white page or it returns to the search form?
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: meier on January 28, 2009, 02:42:21 PM
Ich kann nicht in englisch antworten.
Es kommt eine weiße Seite. Beim suchen muß ich jetzt eine Unterkategorie, in der sich so 30 weitere befinden, angeben. Die ganzen 403 durchsucht er nicht mehr. :?
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on January 28, 2009, 02:50:13 PM
Ich kann nicht in englisch antworten.
Me neither in Deutsch ;)

Es kommt eine weiße Seite.
Try this. Find
Code: [Select]
require('admin_global.php');
Insert below:
Code: [Select]
error_reporting(E_ALL);
@ini_set("display_errors", 1);
Now it should show you error message instead of white page.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: meier on January 28, 2009, 03:02:58 PM
The Error.

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 512 bytes) in /srv/www/htdocs/webxxx/html/4images/admin/checkimages.php on line 831
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on January 28, 2009, 03:09:33 PM
Oh wow! your host allows use only 8mb of memory!!! this is ridiculously low! Ask them to increase it to at least 30mb, if they don't then all you can do to fix this is change the host.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: meier on January 28, 2009, 03:52:34 PM
------------

Google:

Oh wow! Ihr Host ermöglicht den Einsatz von nur 8 MB Speicher! Das ist lächerlich gering! Fragen Sie sie, um sie auf mindestens 30 MB, wenn sie dann nicht alles, was Sie tun können, um dieses Problem beheben, ist die Host.

-----------

Oje, wenn ich jetzt wüsste was du damit meinst.

Also meine Datenbank hat 3,46MB. Das kann es dann nicht sein mit den 8 MB.

Ich benutze mal den miesen google Übersetzer.

------------
Google:

Oje, if I now know what you mean by that.

So, my database has 3,46 MB. That it can not be with the 8 MB.

I use the bad times google translator.



Aha! Der Anbieter ist also Schuld. (x Provider)

Danke - Thanks
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on January 28, 2009, 04:03:14 PM
No, not the database (mysql), operation memory, the memory server uses for scripts. Go to ACP (Admin Control Panel) -> phpinfo() and search for memory_limit
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on January 28, 2009, 04:07:09 PM
try add into .htaccess:
Code: [Select]
php_value memory_limit 30M
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: meier on January 28, 2009, 06:06:53 PM
Which foldername?
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: Rembrandt on January 28, 2009, 06:24:16 PM
Hi!
Which foldername?
du musst auf deinen server im 'root' ordner eine datei mit dem namen '.htaccess'
anlegen und das von vano zitierte hinein schreiben.
wenn du glück hast funktioniert es.

mfg Andi

p.s. fakt ist, so ein provider mit solchen beschränkungen ist für ein galeriesystem völlig ungeeignet.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: meier on January 28, 2009, 09:28:44 PM
Klappt leider nicht.

 Skriptfehler!

Die Anfrage kann aufgrund eines Fehlers in einem Skript oder einer nicht erlaubten Direktive in einer ".htaccess"-Datei nicht beantwortet werden.
Informieren Sie hierüber bitte den Webmaster der betreffenden Domain.

Ich schreibe mal den Anbieter an.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: paule on March 19, 2009, 02:38:46 PM
Hallo, ich habe ein großes Problem mit der Übernahme der IPTC Daten (mit Suchfelderweiterung) nach FTP Upload und Auto resize.

Wenn ich in der CHECKIMAGE Auto Resizer eingeschaltet habe wird ein Thumbnail, ein kleineres Previewbild hergestellt und das Original in den "BIG" Ordner verschoben. Alles funktioniert einwandfrei nur werden keine IPTC Daten übernommen (mit Felderweiterung)

Meldung:   

Warning: array_keys() [function.array-keys]: The first argument should be an array in /var/www/admin/checkimages.php on line 607

Warning: Invalid argument supplied for foreach() in /var/www/admin/checkimages.php on line 607
Working on data/media/44/Hennecke190906028KOSECKI.jpg file:
Copied original file into data/media/44/big/ folder.
Image resized.
Created thumbnail.
Bild erfolgreich hinzugefügt: Hennecke190906028KOSECKI



Wenn ich den Auto resizer ausgeschaltet habe wird ein Thumbnail hergestellt und alle IPTC Daten normal übernommen.

Ich habe im Forum lange gesucht und keine Lösung gefunden.
Ich hoffe, dass ich bei hier richtig bin. Ich weis mir sonst keinen Rat mehr.


Ich freue mich auf eine Antwort   Gruß paule
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on March 19, 2009, 02:55:54 PM
Welcome to 4images forum.

as of the error message, in checkimages.php find:
require('admin_global.php');

insert below:
$log = array();

The IPTC/EXIF information can only be saved if you are using ImageMagick graphic module (not GD or NetPBM) with this modifications:
http://www.4homepages.de/forum/index.php?topic=23428.msg128446#msg128446
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: paule on March 19, 2009, 03:28:22 PM
Hallo und Danke,

ich bekomme bei "neue Bilder checken" nun die Fehlermeldung : Fatal error: Call to undefined function array() in /var/www/admin/checkimages.php on line 31

gruß paule
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on March 19, 2009, 04:11:06 PM
what? wow it just doesn't make sense!
It's either something wrong with your server or you do something wrong. The line you added could not possibly cause that error...

weird

are there any other mods installed in your gallery?
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: paule on March 20, 2009, 03:48:40 PM
Hallo,

ich habe den Code "per Hand" geschrieben. Die Fehlermeldung ist weg.

aber nach "Check new Images" kommt wieder die folgende Meldung:

Warning: array_keys() [function.array-keys]: The first argument should be an array in /var/www/admin/checkimages.php on line 608

Warning: Invalid argument supplied for foreach() in /var/www/admin/checkimages.php on line 608
Working on data/media/45/Burda23120712KOSECKI.jpg file:
Copied original file into data/media/45/big/ folder.
Image resized.
Created thumbnail.
Bild erfolgreich hinzugefügt: Burda23120712KOSECKI


Es sind keine IPTC Daten vorhanden.

Nach: Rebuild IPTC Index kommt folgende Meldung:

Fulltext Indexing between ID 1009 and 1009:
Processing image Burda23120712KOSECKI, ID 1009 ...

Warning: array_keys() [function.array-keys]: The first argument should be an array in /var/www/admin/plugins/rebuild_iptcindex.php on line 148

Warning: Invalid argument supplied for foreach() in /var/www/admin/plugins/rebuild_iptcindex.php on line 148
IPTC index rebuilt!


Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on March 20, 2009, 04:09:38 PM
I think you should contact your host administrator...something wrong with the server. The errors don't make any sense. I don't know what is in your rebuild_iptcindex.php, but in checkimages.php nothing that could possibly cause such error.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: paule on March 27, 2009, 03:26:38 PM
Hallo,
hier ein kurze Rückmeldung. Nach neuer Installation von Imagemagick funktioniert alles perfekt.

Gruß Paule

Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: DJKat on June 21, 2009, 12:48:52 PM
Hallo!

Hab mir gerade dieses MOD installiert.
Bei Bildern ohne IPTC Daten funktioniert es wunderbar. Sobald jedoch IPTC Daten vorhanden sind passiert gar nichts...
Auch das Bild an sich wird nicht in die Galerie gespeichert.
Bekomme nur nen weißen Frame und das Bild ist im Originalordner mit .bak ergänzt. That's all folks.

Irgendwelche Ideen?
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on June 21, 2009, 01:11:23 PM
does it work without this mod?
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: DJKat on June 21, 2009, 01:24:14 PM
does it work without this mod?

Sure...
After restoring the original file everything works as usual.
Maybe a version conflict with current 1.7.7?
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on June 21, 2009, 08:25:35 PM
Please provide an image to test with, cause it works fine with images I've tested it with, I can't reproduce what you've described...
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: DJKat on June 21, 2009, 08:32:59 PM
Just tried some other (smaller) pics...
Maybe its a problem with the resizer, when turning it off the Mod works...
For I always resize before uploading thats what I can live with.   :)

Btw - is their a posibility for updating IPTC data on pictures that are already in the galery?
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on June 21, 2009, 08:47:25 PM
Just tried some other (smaller) pics...
Maybe its a problem with the resizer, when turning it off the Mod works...
For I always resize before uploading thats what I can live with.   :)
Most probably it's your server runs out of memory, usually switching to ImageMagick solves this problem.

Btw - is their a posibility for updating IPTC data on pictures that are already in the galery?
Sorry, no, it's not possible with this mod. In fact 4images still has problem handling IPTC/EXIF data when resizing images...
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: DJKat on June 21, 2009, 09:15:43 PM
Just tried some other (smaller) pics...
Maybe its a problem with the resizer, when turning it off the Mod works...
For I always resize before uploading thats what I can live with.   :)
Most probably it's your server runs out of memory, usually switching to ImageMagick solves this problem.
I don't even think that ImageMagick is installed on that server...
Maybe I can update those pictures when moving to another hoster.

Btw - is their a posibility for updating IPTC data on pictures that are already in the galery?
Sorry, no, it's not possible with this mod. In fact 4images still has problem handling IPTC/EXIF data when resizing images...
Good to know... Self resizing saves time and space. ;)
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: cyber56 on June 22, 2009, 09:12:36 AM
hallo, erstmal muss ich sagen super mod. genau was ich brauche - besten dank. nur habe ich bei den iptc daten probleme das diese nicht richtig in die datenbank gespeichert werden - wenn umlaute wie ä, ü oder ö drin vorkommen. wie kann man das ändern?

 
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on June 22, 2009, 09:47:40 AM
Exactly what is the problem? Do you see the same problem with original images.php that comes with 4images?

P.S. what is your 4images version?
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: cyber56 on June 22, 2009, 10:00:55 AM
Hallo – danke für deine Antwort. Meine Version ist 1.7.7.

Wenn ich beim Import die IPTC  übernehme werden dort die Sonderzeichen (ä,ü,ß) falsch in die Datenbank gespeichert. getönt ist dann getšnt. Wenn ich aber bei „Bild bearbeiten“ dann ein ö dort reinschreibe wird es richtig in die Datenbank gespeichert. Es muss etwas in der checkimages.php nicht stimmen.

Hat keiner eine Idee?
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: Blesi on August 30, 2009, 11:29:35 AM
Bei mir ist immer das Problem, dass ich keine Thumnails erstellen kann. Weder automatisch mit der "checkimages.php" noch manuell über "Auto-Thumbnailer". Kann mir da jemand helfen. Hab Version 1.7.6 und 1.7.7 versucht. Ich finde den Fehler nicht :-(

I have always the same problem. I can't create a thumbnail. Neither with "checkimages.php", nor with "Auto-Thumnailer". can anybody help me??

www.christian-blesinger.com/gallery

Error-Message:
Working on data/media/3/kart_063.JPG file:
Error copying original file into data/media/3/big/ folder.
Image resized.
Added annotation in data/media/3/kart_063.JPG file.
Error creating thumbnail.
Bild erfolgreich hinzugefügt: Deutsche Kart Meisterschaft 2009
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: rinaldos on August 30, 2009, 11:36:34 AM
Hi,
gibt es denn bei dir das "BIG", ein "TEMP" Verzeichnis. Sind die berechtigen auch für das System zugänglich. Als Test würde ich chmod 777 empfehlen.

OT: Das Design deiner HP gefällt mir schon. Empfehle dir, bevor nun ewig viele MOD's eingebaut werden, ein update auf 1.7.7 :-)

LG
Ingo
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: Blesi on August 30, 2009, 11:47:02 AM
Die Homepage war schon fertig. Hab die Dateien noch auf m Rechner. Kann ich bei 1.7.7. die Dateien grad rüberziehen? Funktioniert das? Sonst muss ich noch mal alles "cut and paste" machen.


data/media/3/big

Wo soll da das TEMP Verzeichnis sein?

Unter data hab ich ein TEMP Verzeichnis, aber nicht unter BIG. Die Rechts sind alle auf 777. Das hab ich X-mal geprüpft :-( Ich komm einfach nicht weiter!!!!
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: rinaldos 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

Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: Jockel11 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?
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no 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.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: Jockel11 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.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@nо 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.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: tom69 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




 
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@nо 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)
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: tom69 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
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no 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

Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: tom69 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)
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no 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...
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: Gwydion 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?

Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on November 21, 2009, 08:30:11 PM
As the error says, it's permissions issue. check CHMOD on all folders in data/media
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: deepnight73 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 :)
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: viadata 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
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on February 22, 2010, 02:41:47 PM
it should automatically delete "big" images as well...does it show any kind of errors or messages regarding "big" images?:

1) No Original size (big) Found (Kein Original in Big Ordner gefunden)
2) Error deleting "big" file (Error gelцschte "Big" Datei)
3) Image file successfully deleted from "big" folder (this message is hugely misconfigured originally, it almost doesn't make sense) (Bild-Datei in Big Ordner erfolgreich gelцscht)
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: viadata on February 23, 2010, 01:23:40 AM
Danke für die schnelle Antwort. Ich bekomme keine Fehlermeldung. Meine Meldung ist:

Bild erfolgreich gelöscht via090403ujia-025 (ID: 1489)
Bild-Datei erfolgreich gelöscht (via090403ujia-025.jpg)
Thumbnail-Datei erfolgreich gelöscht (via090403ujia-025.jpg)
Kommentare erfolgreich gelöscht

Das Bild im Big Ordner wird aber leider nicht gelöscht. Es ist bestimmt nur eine Kleinigkeit.

Danke für Ihre Hilfe

Holger
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: Tiburon on March 09, 2010, 05:11:28 PM
Danke für die schnelle Antwort. Ich bekomme keine Fehlermeldung. Meine Meldung ist:

Bild erfolgreich gelöscht via090403ujia-025 (ID: 1489)
Bild-Datei erfolgreich gelöscht (via090403ujia-025.jpg)
Thumbnail-Datei erfolgreich gelöscht (via090403ujia-025.jpg)
Kommentare erfolgreich gelöscht

Das Bild im Big Ordner wird aber leider nicht gelöscht. Es ist bestimmt nur eine Kleinigkeit.

Danke für Ihre Hilfe

Holger

So ist es mir auch erst gegangen, ich habe dann noch einmal die Rechte neu gesetzt und dann funktionierte auch das Löschen einwandfrei. Vielleicht läßt es sich bei Dir ja auch so einfach lösen.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: viadata on March 13, 2010, 10:51:36 PM
Danke für den Hinweis.

ich glaube aber daran liegt es bei mir nicht. Ich denke eher, es liegt am fehlerhaftem pfad. Über checkimages lasse ich beim Einchecken der Bilder automatisch den Pfad zum "Big-Bild" eintragen (data/media/cad_id/big/name.jpg)
Kann mir jemand sagen, in welcher php der Löschbefehl ausgeführt wird? Dann könnte ich mal gucken ob ich da was finde.

Danke schön.

Holger

Nachtrag:

Ich hab es hinbekommen. Ich habe unter Admin die images.php modifiziert. Jetzt werden alle Dateien sauber gelöscht.
Danke schön für die Inspiration.

Holger
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: Rembrandt on March 14, 2010, 07:43:10 PM
Hi!
Danke für den Hinweis........

..... Ich habe unter Admin die images.php modifiziert. Jetzt werden alle Dateien sauber gelöscht.

wäre halt nett wenn du andere auch an deinen erkenntnissen teilhaben lässt.

mfg Andi
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on March 14, 2010, 09:39:03 PM
I just realized, the problem you've described has nothing to do with this mod...
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: viadata on March 14, 2010, 09:59:41 PM
Hallo Zusammen,

V@no: Ich benutze den Checkimages MOD um die mit FTP hochgeladenen Bilder einzuchecken. Somit wird über die MOD das Bild in den big Ordner kopiert, für die Detail Seite kleingerechnet und das Thumbnail für die Kategorieen gebastelt. Jetzt nahm ich an, dass das Löschen der Bilder auch über die MOD gehen muss, um die Originalbilder auch im big Ordner zu löschen. Deshalb hab ich das Problem hier hinterlassen.

Wohin soll ich meinen funktionierenden, wenn auch leihenhaften Lösungsweg hinschreiben? Es scheint sich ja trotzdem jemand dafür zu interessieren.

Holger
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on March 14, 2010, 10:13:30 PM
No, this mod only does the adding images to 4images, editing/deleting images is done via admin/images.php
If you haven't install yet, I'd suggest you install [MOD] Batch Copy/Move/Edit Images (http://www.4homepages.de/forum/index.php?topic=6759.0) it has support for "big" images.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: viadata on March 14, 2010, 10:19:28 PM
V@no,

die MOD hatte ich noch nicht gesehen.

Danke sehr.

Holger
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: DanielsImage on March 27, 2010, 03:56:40 AM
Although I check in on a periodic basis and read what's new and do my upgrades, it has been so long since I have posted here (well before the hack) that I forgot my original user name and  had to register again.  I have been using 4 images since 2002 and have made many modifications, but I am unsure of how to accomplish this one.
In the checkimages.php file based on V@no's wonderful mod "Check new images in ALL categories v2.11", I need to add 2 things. 

1. I have numbers in the IPTC field "Special Instructions."  Depending on what the numbers are, it needs to insert a specific html block of code into an additional field that I have already created.
Example: if Special Instructions contains the numbers 123, then the code <h2>123 abc</h2> needs to be inserted into the additional field.  If Special Instructions contains 456, then the code <h2>456 abc</h2>  needs to be inserted into the additonal field.
This is much like inserting Title and Description from the IPTC fields.

2. Once the correct html code is inserted into the additional field (eg, <h2>123 abc</h2> or <h2>456 abc</h2> or whatever) then the "abc" part of the html code needs to be changed to the title of the picture.  <h2>123 abc</h2> becomes <h2>123 A Nice Picture</h2>

Currently I manually insert the code into the additional field in the Edit Images ACP  and then batch change the "abc" part in phpMyAdmin with the Update SQL command.


I really should be able to automate the whole process at the Check All New Images command, just like using the IPTC fields to update the name and description fields.

My programming skills are just not good enough to figure out the correct syntax.  I would appreciate the help!
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on March 27, 2010, 03:01:07 PM
1. find:
        $additional_value_sql = "";

insert below:
        if (!$detailed)
        {
          $imageinfo = @getimagesize(MEDIA_DIR.(($old_cat_id != 0) ? "/".$old_cat_id : "")."/".stripslashes($image_media_file), $info);
          if (isset($iptc['2#040'][0])) //$iptc['2#040'][0] contains "Special Instructions" data
          {
            $HTTP_POST_VARS['image_paypal_'.$i] = $iptc['2#040'][0]; //just iptc data
//            $HTTP_POST_VARS['image_paypal_'.$i] = $iptc['2#040'][0] . "abc"; //iptc and extra data
          }
        }



Then find:
     show_additional_fields("image", array(), IMAGES_TABLE, $ii);

Replace with:
     $array = array();
     if (!$iptc)
     {
       $imageinfo = @getimagesize(MEDIA_PATH.$cat_path."/".$image_list[$key][$i-1], $info);
          if (isset($info['APP13']))
          {
            $iptc = iptcparse($info['APP13']);
          }
     }
        if (isset($iptc['2#040'][0]))
        {
          $array['image_paypal'] = $iptc['2#040'][0];
//          $array['image_paypal'] = $iptc['2#040'][0] . "abc";
        }
     show_additional_fields("image", $array, IMAGES_TABLE, $ii);



2. try change templates (details.html, thumbnail_html.html, etc)

Code: (HTML template) [Select]
{if image_paypal}{image_paypal}{endif image_paypal}{image_name}
P.S. I would not recommend insert any HTML code into additional fields, do it in templates instead. Also, I don't know what is your "abc" data is, but I'd store original data from IPTC and add that extra "abc" in templates instead.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: DanielsImage on March 27, 2010, 04:02:19 PM
Thank you so much for the quick reply!  That is close to what I want, but it is not the "abc" that needs to change based on the Special Instructions, it is the "123" or "456"  The "abc" is always the same and always needs to change to the name of the picture.

Example: we sell our pictures.  each picture is a different size ratio.  the prices depend on the size ratio. 

The choices are different for each one.  We pass those values to PayPal.
When we upload the pictures to the site, the IPTC field "Special Instruction" contains the picture size ratio.  So if the picture is a 4x6 ratio, Special instructions will say  4x6.  If the picture is 5x7 ratio, Special Instructions will say 5x7.

Now I have to edit images and manually insert the correct code to pass to PayPal.  I have an additional field that is named "paypal". If the IPTC Special Instructions say 5x7, I copy and paste the correct code for 5x7.
All paypal codes for all sizes have the words "SOME COOL PICTURE" for the name of the picture. 
After I paste in all the correct codes for all the correct pictures, I go to MySql and batch change "SOME COOL PICTURE" for the actual picture name.

You will understand why the the additional field "PayPal" needs to have the html form code in it and why it does not work in the template file instead.  And really, setting up the paypal code there works elegantly with no problems.  (the actual values are in a javascript code in  header.html )  Of course {image_paypal} is on the details.html page.

Does that clarify my intent?
I think it will be the same as inserting other iptc values, except that it should probably say:
IF iptc_special_instructions="4x6" then insert {<form 4x6 gobbledygook code name="SOME COOL PICTURE" </form>}
ELSE IF iptc_special_instructions="5x7" then insert {<form 5x7 gobbledygook code name="SOME COOL PICTURE" </form>}
ELSE IF iptc_special_instructions="8x10" then insert {<form 8x10 gobbledygook code name="SOME COOL PICTURE" </form>}

and so on

Then, after all the code is in the PayPal field, we need to change SOME COOL PICTURE to the real name of the picture.

So, from my first example  the 123 or 456 represents the picture size.  the abc is just the picture name.

Does it make sense now?  I know it can all be done in checkimages.php, I'm just not that great at the correct syntax.

Thanks again for all your help!
 
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on March 27, 2010, 05:45:21 PM
In my first code replace
            $HTTP_POST_VARS['image_paypal_'.$i] = $iptc['2#040'][0]; //just iptc data

with:
            $HTTP_POST_VARS['image_paypal_'.$i] = '{<form ' . $iptc['2#040'][0] . 'gobbledygook code name="SOME COOL PICTURE" </form>}';

and if you are using "detailed view" option in this mod, then in second code replace
          $array['image_paypal'] = $iptc['2#040'][0];

with
          $array['image_paypal'] = '{<form ' . $iptc['2#040'][0] . 'gobbledygook code name="SOME COOL PICTURE" </form>}';

Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: Guldstrand on June 02, 2010, 02:31:54 PM
I can´t get this mod to work.
I´m always getting:
Quote
No new images added!
..when trying to auto insert new images with "Check new images" -option in admin.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on June 02, 2010, 02:52:59 PM
Please provide step-by-step how you do it.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: Guldstrand on June 02, 2010, 03:07:15 PM
Please provide step-by-step how you do it.
Ok! Sorry about that.

1. I uploaded almost 100 images in a folder (category) through ftp.
2. Then i clicked on Check new images in admin, and choose the folder/category in the dropdownlist, and pressed the "Check new images" button.
3. 30 of the images is shown in the results.
4. I check all images, and then press "Add". Now the problem occurs. No new images added!

No errors or other messages is shown, just No new images added!".
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on June 02, 2010, 03:22:51 PM
have you tried select one image, not all 30?
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: Guldstrand on June 02, 2010, 03:25:52 PM
have you tried select one image, not all 30?
Thanks for your reply.
I tried that just now, and i got the same result, (No new images added!).

EDIT: It seems to work if i choose to only show/display 10 images in the results, (instead of 30).
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on June 02, 2010, 03:48:15 PM
Ok, try this.
in admin/checkimages.php find:
show_admin_header();

insert below:
error_reporting(E_ALL);
ini_set("display_errors", 1);


See if any errors showed.

If nothing showed, then add below:
echo "<pre>";
print_r($HTTP_POST_VARS);
echo "</pre>";

Then select category, set to display only 1 image, press "Check new images" button, make sure checkbox is checked for the found image, hit "Add" button. on top of the page you should see array(...) if you can't find [addimage_1] => 1 among these line, then I'd assume something wrong with your browser, try different one.
Here is how it should look like:
Code: [Select]
Array
(
    [action] => savenewimages
    [cat_id] => 1
    [allbox] => on
    [addimage_1] => 1
    [image_media_file_1] => my_picture.jpg
    [image_thumb_file_1] =>
    [image_name_1] => my picture
    [cat_id_1] => 1
    [old_cat_id_1] => 1
    [image_active_1] => 1
    [image_allow_comments_1] => 1
    [num_newimages] => 1
    [detailed] => 0
)




[EDIT]
so, 10 images works fine - this indicates there is server restrictions, most likely there is a "mod security" activated. Last time someone had similar problem it was due to that mod was restricting to NN number of POST entries.
As you can see above, one file requires 8 entries, plus 5 "global", so for 10 images it's 10 * 8 + 5 = 85 POST entries.
Contact your server's administrator, see what they can do about that.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: Guldstrand on June 02, 2010, 05:42:57 PM
so, 10 images works fine - this indicates there is server restrictions, most likely there is a "mod security" activated. Last time someone had similar problem it was due to that mod was restricting to NN number of POST entries.
As you can see above, one file requires 8 entries, plus 5 "global", so for 10 images it's 10 * 8 + 5 = 85 POST entries.
Contact your server's administrator, see what they can do about that.
I´m running my own server.
What do i have to do? Change the number in php.ini, or what?
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: viadata on July 15, 2010, 02:26:46 PM
Hallo Zusammen,

ich benutze diese MOD und die läuft Klasse.
Wenn ich im Bildtitel oder in der Bildbeschreibung ein Hochkomma drin habe, bekomme ich einen Datenbankfehler und die Bilder werden nicht eingecheckt.
Ich glaube mich zu erinnern, dass dies schon mal beiläufig Thema war. Leider finde ich trotz langer Suche nichts mehr.
Kann mir da jemand mit einem Code Schnippsel helfen?

Danke

Holger
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on July 15, 2010, 02:54:59 PM
What is 4images version are you using?
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: viadata on July 21, 2010, 12:39:12 AM
The Version ist 1.7.7 and checkimages 2.11
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on July 21, 2010, 03:09:10 AM
The strange thing is, it's working fine in my tests...what about if you use apostrophe when edit an image?

Is there any chances you could setup a fresh, unmodified 4images and see if the problem still exists?
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: Rembrandt on July 21, 2010, 06:25:48 AM
The Version ist 1.7.7 and checkimages 2.11
hast du schon mal probiert zwei hochkommas hintereinander zu setzen, ob das funktioniert?
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: viadata on July 28, 2010, 11:56:55 PM
Hallo,

wenn ich in den IPTC Daten (images_caption) über z.B. FotoStation eine Bildbeschreibung mache, und dort z.B. schreibe " Hier zu sehen Mann's Kneipe" dann gibt es den DB Fehler beim einchecken. Schreibe ich aber "Hier zu sehen Manns Kneipe" klappt alles wunderbar.

Ich glaube es gab da schon mal eine Lösung, finde diese aber nicht.

Danke für Eure Hilfe.

Holger
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on July 29, 2010, 04:42:00 AM
Please try out v2.12 (http://www.4homepages.de/forum/index.php?topic=4754.msg19991#post_attachment) (note, I left v2.11 in attachment just in case if v2.12 doesn't work at all)
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: viadata on July 29, 2010, 12:44:44 PM
Hallo V@no,

ich habe die v.2.12 installiert. Ich habe es mit 2 Bildern ausprobiert. Ein Bild klappte perfekt. Bei dem Anderen bekam ich folgende Fehlermeldung.

    
Fatal error: Call to undefined function copy_file() in /www/htdocs/w00c4e4e/bilder/admin/checkimages.php on line 695

Danke für Deine Mühe

Holger
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on July 29, 2010, 03:16:20 PM
I've uploaded new version.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: viadata on July 29, 2010, 09:58:20 PM
Hallo V@no,

Klasse Arbeit! Funktioniert jetzt prima. Festgestellt habe ich nur, dass es ein kleines Problem mit den Keywords gibt.

Ich betexte meine Bilder mit FotoStation Pro. Wenn ich jetzt die Bilder einchecke, wird im Editfeld Keyword die Keywords anzeigt. Aber anders als sonst. Im Ergebnis werden die Keywords im Detailfenster auch als ein Wort betrachtet und nicht jedes Wort einzeln.

Also: mit der Version 2.12 z.B.
"Deutschland,Europa,Renft,Konzert,Klaus,Band,Ostrock,Anker,Politik,DDR" Ergebnis:     Deutschland,Europa,Renft,Konzert,Klaus,Band,Ostrock,Anker,Politik,DDR

in der Version 2.11 z.B.
"Deutschland Europa Renft Konzert Klaus Band Ostrock Anker Politik DDR" Ergebnis:        Deutschland Europa Renft Konzert Klaus Band Ostrock Anker Politik DDR

Ich hoffe ich konnte mich verständlich machen.
Danke erstmal für Deine tolle Arbeit.

Holger

Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on July 30, 2010, 03:35:40 AM
try v2.12.2

P.S.
Thumbnails working ok? (I read earlier you had problems with thumbnails, I think)
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: viadata on July 30, 2010, 11:57:01 PM
Hi V@no,

very great shop ! Perfekt! Ein klasse MOD der mir viel Arbeit erspart und Freude macht.

Das Thumbnail Problem ist nicht wieder aufgetreten. Woran es lag weiß ich nicht. Es funktioniert alles prima.

Herzlichen Dank !

Holger
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: diehard on September 10, 2010, 01:33:17 PM
Please provide step-by-step how you do it.
Ok! Sorry about that.

1. I uploaded almost 100 images in a folder (category) through ftp.
2. Then i clicked on Check new images in admin, and choose the folder/category in the dropdownlist, and pressed the "Check new images" button.
3. 30 of the images is shown in the results.
4. I check all images, and then press "Add". Now the problem occurs. No new images added!

No errors or other messages is shown, just No new images added!".

I have a similar problem
1.I uploaded 100-600 images in a folder through ftp.
2.Then i clicked on Check new images and choose the folder/category in the dropdownlist, and pressed the "Check new images" button.I choise  100 images to shown.
3.100 images shown in the result ... this is OK , and i check it .
4.When i click to ADD button , only 10-12 images are added of 100 checked.

Whats the problem ?
In clear instalation of 4images 1.7.8 everything is working but...

Code: [Select]
Check new images log
     Working on data/media/8/New car 08 .jpg file
File renamed from New car 08 .jpg to new_car_08_.jpg
Copied file into data/media/8/big folder.
Thumbnail created.
Image resized.
Added annotation in data/media/8/new_car_08_.jpg file.
Added annotation in data/media/8/big/new_car_08_.jpg file.
Image added: New car 08

Working on data/media/8/New car 09 .jpg file
File renamed from New car 09 .jpg to new_car_09_.jpg
Copied file into data/media/8/big folder.
Thumbnail created.
Image resized.
Added annotation in data/media/8/new_car_09_.jpg file.
Added annotation in data/media/8/big/new_car_09_.jpg file.
Image added: New car 09

Working on data/media/8/New car 10 .jpg file
File renamed from New car 10 .jpg to new_car_10_.jpg
Copied file into data/media/8/big folder.
Thumbnail created.
Image resized.
Added annotation in data/media/8/new_car_10_.jpg file.
Added annotation in data/media/8/big/new_car_10_.jpg file.
Image added: New car 10

Working on data/media/8/New car 11 .jpg file
File renamed from New car 11 .jpg to new_car_11_.jpg
Copied file into data/media/8/big folder.
Thumbnail created.
Image resized.
Added annotation in data/media/8/new_car_11_.jpg file.
Added annotation in data/media/8/big/new_car_11_.jpg file.
Image added: New car 11

Working on data/media/8/New car 12 .jpg file
File renamed from New car 12 .jpg to new_car_12_.jpg
Copied file into data/media/8/big folder.
Thumbnail created.
Image resized.
Added annotation in data/media/8/new_car_12_.jpg file.
Added annotation in data/media/8/big/new_car_12_.jpg file.
Image added: New car 12

Working on data/media/8/New car 13 .jpg file
File renamed from New car 13 .jpg to new_car_13_.jpg
Copied file into data/media/8/big folder.
Thumbnail created.
Image resized.
Added annotation in data/media/8/new_car_13_.jpg file.
Added annotation in data/media/8/big/new_car_13_.jpg file.
Image added: New car 13

Working on data/media/8/New car 14 .jpg file
File renamed from New car 14 .jpg to new_car_14_.jpg
Copied file into data/media/8/big folder.
Thumbnail created.
Image resized.
Added annotation in data/media/8/new_car_14_.jpg file.
Added annotation in data/media/8/big/new_car_14_.jpg file.
Image added: New car 14

Working on data/media/8/New car 15 .jpg file
File renamed from New car 15 .jpg to new_car_15_.jpg
Copied file into data/media/8/big folder.
Thumbnail created.
Image resized.
Added annotation in data/media/8/new_car_15_.jpg file.
Added annotation in data/media/8/big/new_car_15_.jpg file.
Image added: New car 15

Working on data/media/8/New car 16 .jpg file
File renamed from New car 16 .jpg to new_car_16_.jpg
Copied file into data/media/8/big folder.
Thumbnail created.
Image resized.
Added annotation in data/media/8/new_car_16_.jpg file.
Added annotation in data/media/8/big/new_car_16_.jpg file.
Image added: New car 16

Working on data/media/8/New car 17 .jpg file
File renamed from New car 17 .jpg to new_car_17_.jpg
Copied file into data/media/8/big folder.
Thumbnail created.
Image resized.
Added annotation in data/media/8/new_car_17_.jpg file.
Added annotation in data/media/8/big/new_car_17_.jpg file.
Image added: New car 17

Working on data/media/8/New car 18 .jpg file
File renamed from New car 18 .jpg to new_car_18_.jpg
Copied file into data/media/8/big folder.
Thumbnail created.
Image resized.
Added annotation in data/media/8/new_car_18_.jpg file.
Added annotation in data/media/8/big/new_car_18_.jpg file.
Image added: New car 18

Working on data/media/8/New car 19 .jpg file
File renamed from New car 19 .jpg to new_car_19_.jpg
Copied file into data/media/8/big folder.
Thumbnail created.
Image resized.
Added annotation in data/media/8/new_car_19_.jpg file.
Added annotation in data/media/8/big/new_car_19_.jpg file.
Image added: New car 19

Working on data/media/8/New car 20 .jpg file

Working on data/media/8/New car 20 .jpg file.... and end  :(
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: Rembrandt on September 10, 2010, 01:41:41 PM
...
Whats the problem ?
.....
your server has not enough memory.
check your php memory limit.
if they can, they set higher PHP memory limit.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: diehard on September 10, 2010, 05:36:50 PM
...
Whats the problem ?
.....
your server has not enough memory.
check your php memory limit.
if they can, they set higher PHP memory limit.

My memory is: memory_limit = 512M
hmmm and problem stay...
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: Rembrandt on September 10, 2010, 05:59:42 PM
how big are the average of images, in pixel ?
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@nо on September 10, 2010, 06:46:59 PM
if it's exact number of images every time, then it could be some server restrictions. mod security is known on restrict nimber of POST fields

ask your host admin if anything like this installed
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: diehard on September 12, 2010, 07:17:44 PM
how big are the average of images, in pixel ?

1600x1200 / 1920x1200 / 1280x1024 .....


if it's exact number of images every time, then it could be some server restrictions. mod security is known on restrict nimber of POST fields

ask your host admin if anything like this installed

I`m the host admin... this is my server... I am not installed MOD SECURITY. The number of images is not exact every time but is more then 10 .
I noticed that after upload 10 photos in "Check new images log" shows 10 added but in site added 30 images hmmm....
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on September 12, 2010, 08:28:02 PM
4images v1.7.8 already comes with this mod preinstalled. Try use unmodified version of checkimages.php from 4images package.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: Rembrandt on September 12, 2010, 08:31:22 PM
Hi!

you can test how much memory will need your pictures.

copy the attached file and a image called  testimg.jpg in your root and call it to "gdtest.php".
now you can see how many memory your image will need.

mfg Andi
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: diehard on September 13, 2010, 07:37:17 AM
Hi!

you can test how much memory will need your pictures.

copy the attached file and a image called  testimg.jpg in your root and call it to "gdtest.php".
now you can see how many memory your image will need.

mfg Andi


This is result:
convert start = 65.133 kb
convert end = 22.106 mb


I found a problem. The Apache mod_qos stoped my upload request :) When i stoped it, all is OK.
Thanks V@no / Rembrandt for help...

This is config for this Apache mod:

Code: [Select]
## QoS Settings
<IfModule mod_qos.c>
    # handles connections from up to 100000 different IPs
    QS_ClientEntries 100000
    # will allow only 50 connections per IP
    QS_SrvMaxConnPerIP 50
    # maximum number of active TCP connections is limited to 256
    MaxClients              256
    # disables keep-alive when 70% of the TCP connections are occupied:
    QS_SrvMaxConnClose      180
    # minimum request/response speed (deny slow clients blocking the server, ie. slowloris keeping connections open without requesting anything):
    QS_SrvMinDataRate       150 1200
    # and limit request header and body (carefull, that limits uploads and post requests too):
    # LimitRequestFields      30
    # QS_LimitRequestBody     102400
</IfModule>

And i add local IP`s
     
Code: [Select]
QS_SrvMaxConnExcludeIP                    127.0.0.1
     QS_SrvMaxConnExcludeIP                    192.168.0.
Now everything work fine and flooders stoped and upload images is OK ;)
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: khansahib on September 17, 2010, 06:03:37 AM
first of all thanks for such a nice MOD..
well i've tried both v2.11 and v2.12.2 but have no sucess with both as i can't add 80+ images in one go.. when i select 90 or 100 it turns out to

--------------------------------
Check new images log
No new images added!
--------------------------------

i've to add 20k plus images so adding 80 in one go will take alot of time.. i want to add atleat 200 in one go..

after reading the thread i figured out that might be my "post_max_size" will be less but i also increased that to 30MB from 8MB.. and still it didn't work out.. :(

can u please tell me where is the problem, my server or script.. i'm using latest version of 4images i.e. v1.7.8

Thanks.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: khansahib on September 20, 2010, 06:28:03 AM
hello anybody there to tell where is the problem...
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on September 20, 2010, 02:07:12 PM
There are other restrictions that could cause this, some other modules, etc. for instance mod_security could limit number of POST entries, it's hard to tell. If you wish, PM me with a link to your phpinfo()
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: V@no on September 20, 2010, 08:23:36 PM
As I was saying, you have a server restrictions, in  your case it's suhosin extension.

For starters play with the following settings in php.ini (or whatever setting file for that extension is)
Code: [Select]
suhosin.*.max_varsand:
Code: [Select]
suhosin.post.max_array_depth
suhosin.post.max_array_index_length
suhosin.post.max_name_length
suhosin.post.max_totalname_length
suhosin.post.max_value_length
suhosin.post.max_vars

I've seen such restrictions before, when people were not able add more then NN number of images at once, your case looks the same.
Just to summarize, 4images sends out 21 POST vars, plus additional 11 vars for EACH image, so if you add one image, it uses 32 POST vars, 2 images = 43 vars

It also could be some other settings, but I'm quiet sure it's the suhosin extension that giving you the problem.
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: khansahib on September 21, 2010, 07:20:25 AM
Thanks

well i used the following code

Code: [Select]
php_value suhosin.request.max_vars 2048
php_value suhosin.post.max_vars 2048

and saved it as php.ini and added to admin folder.. and all worked out... :)
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: nameless on October 08, 2010, 10:12:51 PM
hi
i'm using v 1.7.8

when i check for new images it take some times and i think becouse of the Thumbnail so
can i remove it
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: henary on December 02, 2010, 10:30:11 AM
Hello,

i've add some functions like exif and iptc db field, histogramm-maker and rename for image-name, exif-date instead time() for image_date into the checkimages.php.

But some isn't work  :cry:

I've i use input-row like show_radio_row in second part of the checkimages.php, everything is workin well, but i'd like my functions in first part and there they don't do!

Look 4img_1.gif this ist my wishing position, 4img_2 is working.

I've used v@nos help from this http://www.4homepages.de/forum/index.php?topic=4754.msg147981#msg147981 to find out any and teh result from 4img_1 is like:
Code: [Select]
Array
(
    [__csrf] => ff4e5f1eb76629a25d97ddc57be0dfdd
    [action] => savenewimages
    [auto_resize] => 1
    [dimension] => 1024
    [resize_type] => 1
    [quality] => 85
    [big] => 1
    [big_folder] => download
    [annotate] => 0
    [auto_thumbs] => 1
    [dimension_thumbs] => 150
    [resize_type_thumbs] => 1
    [quality_thumbs] => 85
    [user_id] => 1
    [cat_id_p] => 2
    [mode] => 1
    [allbox] => on
    [addimage_1] => 1
    [image_media_file_1] => 200812-23_22-23-33.jpg
    [image_thumb_file_1] => 200812-23_22-23-33.jpg
    [image_name_1] => 200812-23 22-23-33
    [cat_id_1] => 2
    [old_cat_id_1] => 2
    [image_description_1] =>
    [image_keywords_1] => Louise
    [image_date_1] => 2010-12-02 10:13:31
    [image_active_1] => 1
    [image_allow_comments_1] => 1
    [max_dimension] => 300
    [num_newimages] => 20
    [detailed] => 0
    [subcats] => 0
)

The vars
Code: [Select]
[date_exif] => 1 and    [date_asname] => 1are missing in array  8O

I need some help to resolve this, i will post detailed code if you need.

Thanks,
Henry

(Deutsch wäre mir einfacher  :wink:)
Title: Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
Post by: wallward on February 07, 2014, 04:54:55 PM
Tnx, :)
How to ORDER result by size or random?