4images Forum & Community
4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: motime on August 25, 2002, 08:26:22 AM
-
well i manage to upload all my images by first making a catergory and then uploading the images to the category id. I HAVE MY OWN THUMBNAILS i donot want to use image magic or anything else can u please simply tell me if i have my own thumbnails where do i upload them and how are they suppose to be named! cause all my thumbnails have a pattern of tn and then the image name
please help as soon as possible cause i am going to loose my fsat internet today so this is urgent because i got tons of images to upload!!! thnx
-
Upload the thumbnail files to same category id folder in "thumbnails". Thumbnails must have the same name as the depending image.
You can use this script to remove the prefix fro the thumbnails files:
http://www.4homepages.de/forum/viewtopic.php?p=2414#2414
Jan
-
OK thnx for ur help i did test if the thumbnails wrk but they dont all i see is the eye thing with jpg on although i uploaded two images and upload 2 thumbnails after changing them so they were named like the images and i more thing how do i use tht prefix eliminator i dont know php well at all so please help
-
Ok, step by step:
You have created a new category, for example the ID is 1.
Now upload your images via FTP to:
data/media/1/image1.jpg
data/media/1/image2.jpg
etc.
and your thumbnails to:
data/thumbnails/1/tn_image1.jpg
data/thumbnails/1/tn_image2.jpg
etc.
Then open the script rename_thumb.php and change
$thumb_prefix = "thumb_";
to
$thumb_prefix = "tn_";
Upload this script to "data/thumbnails/1" and run it. It will remove the prefix tn_ from all your thumbnail files.
Go now to your Control Panel and add the images with Check new images to the database.
Greets Jan
-
thnx jan u rule u got a great support board!!!!!!!!!!!!!! I love it !!! i will do as u say and i can see tht it should wrk so thnk u again
-
its taking forever to run rename_thumb.php when i run it it never ends the status bard is going so slow and then at the half way point it stops
-
How much images you have in one directory?
Jan
-
20 thumbnails
-
Maybe you should chmod the files with 666.
Jan