Results 1 to 13 of 13

Thread: folder.gif

  1. #1
    Join Date
    Sep 2005
    Posts
    82

    Default folder.gif

    Hello,

    I changed folder.gif to folder.jpg and edited the colors slightly. Can someone tell me which file calls the folder.gif file so that I can then go and change it to folder.jpg.

    I tried searching for "folder.gif", but could only bring it up in cat_add_form.html.

    Thank you.

  2. #2
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    It's in /themes/kosmos/setting.php
    Code:
    $cat_default_image      = $site_url.'/themes/'.$active_theme.'/images/folder.gif';

  3. #3
    Join Date
    Sep 2005
    Posts
    82

    Default

    Still didn't work I'm afraid. The new image /themes/mytheme/images/folder.jpg is uploaded and the corresponding /themes/mytheme/setting.php file has also been updated and uploaded.

  4. #4
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    If you uploaded folder.jpg, then your setting.php should be
    Code:
    $cat_default_image      = $site_url.'/themes/'.$active_theme.'/images/folder.jpg';
    Make sure to upload folder.jpg to
    /themes/mytheme/images/

  5. #5
    Join Date
    Sep 2005
    Posts
    82

    Default

    It's very very strange. The setting.php file has indeed changed and I have confirmed this via the admin control panel. I even changed the image from folder.jpg to foldddder.jpg just to see if it would ruin things.

    Cleared my cache, refreshed the page, but still the theme is picking up folder.gif. Is folder.gif called from elsewhere?

  6. #6
    Join Date
    Jan 2005
    Location
    Stockbridge, GA
    Posts
    64

    Default

    Why not change your jpg to a gif and upload it?

  7. #7
    Join Date
    Sep 2005
    Posts
    82

    Default

    jpg loses many colors when converted to a gif, hence the reason I want a jpg.

    Anyway, have finally found the solution. You need to go into the admin control panel and edit each category's image file. Simple! So I'm assuming the settings.php file is using the $cat_default_image as a default, and this is overridden by whatever is held in the database.

  8. #8
    Join Date
    Jan 2005
    Location
    Stockbridge, GA
    Posts
    64

    Default

    Depends on how you do it. I can't imagine that you would need more than 256 colors for a folder image.

  9. #9
    Join Date
    Sep 2005
    Posts
    82

    Default

    I don't. But some of the colours I want are not part of the standard colours hence they are mixed with thousands of other colours. Does that make sense. I'm no guru in images though. All I know the colours I want don't save as a gif file.

  10. #10
    Join Date
    Jan 2005
    Location
    Stockbridge, GA
    Posts
    64

    Default

    You can have any color you want in a gif. You do not have to have the Standard 256 web colors.

    Generally gifs are smaller in file size unless you compress the JPG but then you lose quality.

    I would love to see your JPG.

  11. #11
    Join Date
    Sep 2005
    Posts
    82

    Default

    Hmm... I opened the standard folder.gif in Paint and they change the background colour from white to orangy but the image would never save in that colour. Hence, I changed it to a jpg file.

    You can see the folder icons at www.aacircle.com.au/directory. You will notice the orangy background. Yes, it's the same folder image, but just with a non-white background.
    ** English Teacher and Student Site **
    Teach English in Japan, Korea, Taiwan or China

    Teaching Community at Teacher Forums
    New ESL Teacher and Student Directory!

  12. #12
    Join Date
    Jan 2005
    Location
    Stockbridge, GA
    Posts
    64

    Default

    Just make the background transparent

    Here is the file with a transparent background.

  13. #13
    Join Date
    Sep 2005
    Posts
    82

    Default

    thank you for your nice suggestion!
    ** English Teacher and Student Site **
    Teach English in Japan, Korea, Taiwan or China

    Teaching Community at Teacher Forums
    New ESL Teacher and Student Directory!

Similar Threads

  1. Cache folder issue
    By exaltvenkat in forum v5.x
    Replies: 11
    Last Post: 05-05-2006, 10:33 AM
  2. Admin Folder
    By csengine in forum v5.x
    Replies: 3
    Last Post: 04-12-2003, 07:30 PM
  3. Removing folder icon
    By jmbishop in forum v5.x
    Replies: 5
    Last Post: 09-20-2002, 11:06 AM
  4. folder images
    By yankee2002 in forum v5.x
    Replies: 1
    Last Post: 08-02-2002, 03:26 AM
  5. Add a favorites folder by default
    By Bruceper in forum v5.x
    Replies: 4
    Last Post: 07-08-2002, 02:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •