Author Topic: Help Wanted  (Read 5086 times)

0 Members and 1 Guest are viewing this topic.

Offline Rockyuk

  • Pre-Newbie
  • Posts: 3
    • View Profile
Help Wanted
« on: December 02, 2009, 06:09:10 PM »
Hi Guys,
I have just installed 4images 1.7.7 and love it so far, but have a few problems that i need help with please.

1) How do i get the images to produce thumbnails on the main homepage instead of full size images?
2) Is the a way to watermark or secure the images from being downloaded?
3) Is it possible to have a row of thumbnails on the home page for the categories?

Thanks

Rockyuk
 :?

Rembrandt

  • Guest
Re: Help Wanted
« Reply #1 on: December 02, 2009, 07:32:25 PM »
Wellcome!

first read the FAQ !

2.) --> http://www.4homepages.de/forum/index.php?topic=23434.0
          http://www.4homepages.de/forum/index.php?topic=13719.0

3.)search in your templates/categorie_bit.html:
Code: [Select]
<img src="{template_url}/images/folder.gif" width="20" height="13" alt="" />
      <!-- {if random_cat_image_file}<a href="{cat_url}"><img src="{random_cat_image_file}" border="1"></a>{endif random_cat_image_file}  -->
and replace:
Code: [Select]
<!-- <img src="{template_url}/images/folder.gif" width="20" height="13" alt="" />  -->
       {if random_cat_image_file}<a href="{cat_url}"><img src="{random_cat_image_file}" border="1"></a>{endif random_cat_image_file}

search in includes/constants.php:

define
('SHOW_RANDOM_CAT_IMAGE'0);

and replace:

define
('SHOW_RANDOM_CAT_IMAGE'1);



mfg Andi

Offline Rockyuk

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: Help Wanted
« Reply #2 on: December 03, 2009, 12:05:34 PM »
Hi Andi,
Thankyou for your help i edited the files you told me to but not sure what it is supposed to do? Also do you know how to make the random image smaller as it seems to come up the same size as the image uploaded?

Thanks

Rockyuk

Rembrandt

  • Guest
Re: Help Wanted
« Reply #3 on: December 03, 2009, 05:15:17 PM »
Thankyou for your help i edited the files you told me to but not sure what it is supposed to do?
you ask
Quote
3) Is it possible to have a row of thumbnails on the home page for the categories?

This little modification, produces random images of the respective category.

Quote
Also do you know how to make the random image smaller as it seems to come up the same size as the image uploaded?
how did you create the thumbnails? b.z.w. -> http://www.4homepages.de/forum/index.php?topic=3080.msg12841#msg12841

Offline Rockyuk

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: Help Wanted
« Reply #4 on: December 03, 2009, 05:21:46 PM »
Hi Andi,
Basically what has happened when you upload a photo i thought it would automatically resize but it does not seem to do that on upload so when the random image displays it shows up full size but i want the random image to be smaller?

Also with the mods i have done will it work for sub categories or only for images in the main galleries?

Thanks

Rockyuk

Rembrandt

  • Guest
Re: Help Wanted
« Reply #5 on: December 05, 2009, 07:42:14 AM »
..
Basically what has happened when you upload a photo i thought it would automatically resize but it does not seem to do that on upload so when the random image displays it shows up full size but i want the random image to be smaller?...
via webinterface as admin when you upload thumbnails, you have to upload the thumbnails to the desired size from you.
or -> http://www.4homepages.de/forum/index.php?topic=3080.msg12841#msg12841

mfg Andi