4images Forum & Community
4images Modifications / Modifikationen => Templates & Styles (Requests & Discussions) => Topic started by: Muurtegel on September 17, 2008, 10:24:54 PM
-
Hello everyone,
I'm looking for a way to get less information below the images on my frontpage.
The information that i'd like to get rid of is: The name of the image, the user who uploaded it, the category, the comments and the lightbox button.
(I want to get rid of all the text and only keep the image thumbnail)
A screenshot of my current frontpage:
(http://i161.photobucket.com/albums/t229/BSTMatt/screen.jpg)
Thanks in advance,
Matt
edit: nvm i found it already; thumbnail_bit.html was the file i was searching for..!
-
hello and welcome to 4images forum
... less information for thumbnail / image only on index page (not on category page) ...
... try this ...
1.1 in index.php find the following code line
$templates_used = 'home,category_bit,whos_online,thumbnail_bit';
and replace it by
$templates_used = 'home,category_bit,whos_online,thumbnail_index_bit';
1.2. in index.php find the following code line
$new_images .= $site_template->parse_template("thumbnail_bit");
and replace it by
$new_images .= $site_template->parse_template("thumbnail_index_bit");
2.1 make a copy of your /templates/<your_template>/thumbnail_bit.html and rename it to thumbnail_index_bit.html
2.2 in your new /templates/<your_template>/thumbnail_index_bit.html delete all the informations you won't show with your thumbnails on index page e.g. ...
<a href="{cat_url}">{cat_name}</a><br />
{if allow_comments}{lang_comments} {image_comments}{endif allow_comments}<br />
{lightbox_button}<br>
{download_button}
... I think ... that's all ... ;)
-
hello and welcome to 4images forum
... less information for thumbnail / image only on index page (not on category page) ...
... try this ...
1.1 in index.php find the following code line
$templates_used = 'home,category_bit,whos_online,thumbnail_bit';
and replace it by
$templates_used = 'home,category_bit,whos_online,thumbnail_index_bit';
1.2. in index.php find the following code line
$new_images .= $site_template->parse_template("thumbnail_bit");
and replace it by
$new_images .= $site_template->parse_template("thumbnail_index_bit");
2.1 make a copy of your /templates/<your_template>/thumbnail_bit.html and rename it to thumbnail_index_bit.html
2.2 in your new /templates/<your_template>/thumbnail_index_bit.html delete all the informations you won't show with your thumbnails on index page e.g. ...
<a href="{cat_url}">{cat_name}</a><br />
{if allow_comments}{lang_comments} {image_comments}{endif allow_comments}<br />
{lightbox_button}<br>
{download_button}
... I think ... that's all ... ;)
Thank you very much for replying so quickly!
I found the answer to this already though (I just had to edit the thumbnail_bit.html file)
-
I found the answer to this already though (I just had to edit the thumbnail_bit.html file)
... but if you edit only the thumbnail_bit.html ...
... this affect also categories- and search-pages ...
... but your request was changing of thumbnail design only on frontpage ... :? ... !
-
Yeah i'm sorry, i didn't know that they were connected to each other..
It does look better w/o the info (on my site) even in the category section.
Thanks again though!