View Full Version : No text under left column pictures
transalp
27th of January 2007 (Sat), 09:43
How can I place pictures in the left column without a title beneath it?
I would like to place microthumbs in the left column with te latest pictures, but with no text underneath it. And i would like to place a text link to the latest 1 or 2 exhibitions.
How can i do it?
malum
20th of March 2007 (Tue), 06:29
This is the bit of code in templates/pages/ee_2_default/index/default_XHTML_content.php (or whichever style you use)
that deals with the thumbnails as far as I can see
<td valign="top" class="ee_column_left">
<span class="ee_css_paragraph_bold"><?php print $random_photos_header_html; ?></span>
<br class="clear" /><br class="clear" />
<?php ee_random_photos("7","thumb"); ?>
</td>
Yours will be different as I have changed mine to random pictures and to show 7 of them.
I still have titles under mine though despite the fact that it says ("7","thumb") so I don't know what gives there as "thumb" is thumbs without titles. If you change that to microthumb you'll get the small thumbnails but still with titles
If anyone else knows how to do it then please tell.
malum
22nd of March 2007 (Thu), 08:16
Anyone?
jeronimo
22nd of March 2007 (Thu), 11:02
Do you want it the way I did it on my site?
http://www.landmarks.nl/index.php?ee_lang=eng
If so, I can tell you later today or in the weekend
malum
22nd of March 2007 (Thu), 11:07
Looks like what transalp wants (the bottom bit anyway)
I want standard sized thumbs without any text under them though.
jeronimo
22nd of March 2007 (Thu), 11:31
I will have a look at it if I can find some time to figure out.
jeronimo
22nd of March 2007 (Thu), 17:17
Well think I found it
In basecode/SCRIPT_common_functions.php qou'll find somewhere around line 872 the next code
if ($viewtype == "thumb") {
ob_start();
$s_max_thumbsize_width = $s_thumbs_outputstyle_max_thumbsize_width;
$s_max_thumbsize_height = $s_thumbs_outputstyle_max_thumbsize_height;
$thumb_output = ee_print_thumbs($thumbarraylist,"thumb");
ob_end_clean();
foreach ($thumb_output as $thisthumb => $thumbdata) {
print $thumbdata["output"];
print "<p class=\"ee_css_paragraph_small\" style=\"margin: -5px 0px 5px 0px;\">";
print $thumbdata["thumbheader"];
print "</p>";
}
//print "<br class=\"clear\"></div>";
}
This is the function that call's the thumb INCLUDING the title.
I think, when you delete the displayed her under, you'll make it dislplay WITHOUT the tittle.
print "<p class=\"ee_css_paragraph_small\" style=\"margin: -5px 0px 5px 0px;\">";
print $thumbdata["thumbheader"];
print "</p>";
I think you can safely try it, but be shure to keep an copy of the original file.
Good luck, and let us know
malum
24th of March 2007 (Sat), 15:39
Great. That's the one.
Mine was down th page a bit though (line 990) as I have it set for random thumbs.
I just commented them out in case they do something else vital that I'm missing.
Many thanks
jeronimo
24th of March 2007 (Sat), 19:00
Is it visible somewhere?
malum
24th of March 2007 (Sat), 19:05
Is it visible somewhere?
Is what visible somewhere?
jeronimo
25th of March 2007 (Sun), 15:51
Great. That's the one.
Mine was down th page a bit though (line 990) as I have it set for random thumbs.
I just commented them out in case they do something else vital that I'm missing.
Many thanks
Is this vissible :)
malum
25th of March 2007 (Sun), 16:48
Is this vissible :)
You've got me feeling really dumb now cos I still don't know what you mean :lol:
If you have the patience please try again for the hard of thinking...
jeronimo
26th of March 2007 (Mon), 08:25
LOL, so what I meant, can we view your site somewhere? So that we can see the result of commenting things out?
What is the URL of the site with the changes you've discribed
malum
26th of March 2007 (Mon), 09:14
ah, that's better, now I'm with you.
It's here (http://www.virtuallyinsane.com/photos/index.php)
I'm not sure it's on the fastest server in the world, let me know if it's slow for you.
I'm testing out EE2 before I port our main site over which is running 1.5.
I have made extensive changes to the 1.5 code and settings so I wanted to check out 2 carefully before making the leap.
Our 1.5 site is here (http://www.e-yaji.com/)
jeronimo
26th of March 2007 (Mon), 10:32
For now it works fine. Maybe it is nicer to centrate the images in the middle of the left column. Now there are jumping around a bit.
You can also speed things up by putting less images on the frontpage. However it is an photo site, so there should be soms photo's at least
malum
26th of March 2007 (Mon), 10:40
For now it works fine. Maybe it is nicer to centrate the images in the middle of the left column. Now there are jumping around a bit.
You can also speed things up by putting less images on the frontpage. However it is an photo site, so there should be soms photo's at least
Good point. I'll have a look at centering them and see what they look like.
There are only 10 thumbnails on the front page so they shouldn't slow things down too much.
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.