Author Topic: BIG PROBLEM ABOUT THUMBNAILS PLEASE HELP URGENT  (Read 9769 times)

0 Members and 1 Guest are viewing this topic.

Offline motime

  • Pre-Newbie
  • Posts: 6
    • View Profile
BIG PROBLEM ABOUT THUMBNAILS PLEASE HELP URGENT
« 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

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
BIG PROBLEM ABOUT THUMBNAILS PLEASE HELP URGENT
« Reply #1 on: August 25, 2002, 09:12:19 AM »
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
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline motime

  • Pre-Newbie
  • Posts: 6
    • View Profile
BIG PROBLEM ABOUT THUMBNAILS PLEASE HELP URGENT
« Reply #2 on: August 25, 2002, 09:25:42 AM »
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

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
BIG PROBLEM ABOUT THUMBNAILS PLEASE HELP URGENT
« Reply #3 on: August 25, 2002, 09:32:39 AM »
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
Code: [Select]
$thumb_prefix = "thumb_";
to
Code: [Select]
$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
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline motime

  • Pre-Newbie
  • Posts: 6
    • View Profile
BIG PROBLEM ABOUT THUMBNAILS PLEASE HELP URGENT
« Reply #4 on: August 25, 2002, 09:41:55 AM »
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

Offline motime

  • Pre-Newbie
  • Posts: 6
    • View Profile
BIG PROBLEM ABOUT THUMBNAILS PLEASE HELP URGENT
« Reply #5 on: August 25, 2002, 09:48:24 AM »
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

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
BIG PROBLEM ABOUT THUMBNAILS PLEASE HELP URGENT
« Reply #6 on: August 25, 2002, 10:13:53 AM »
How much images you have in one directory?

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline motime

  • Pre-Newbie
  • Posts: 6
    • View Profile
BIG PROBLEM ABOUT THUMBNAILS PLEASE HELP URGENT
« Reply #7 on: August 25, 2002, 04:21:07 PM »
20 thumbnails

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
BIG PROBLEM ABOUT THUMBNAILS PLEASE HELP URGENT
« Reply #8 on: August 25, 2002, 04:44:08 PM »
Maybe you should chmod the files with 666.

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search