View Full Version : "latest photos" on index page, size/shape?
superchief
4th of October 2006 (Wed), 23:34
The "latest photos" (nice idea BTW) displayed on the left side of the main index page have been compressed into a square image. How do I show them as thumbs with the normal aspect ratio?
superchief
5th of October 2006 (Thu), 03:21
Whoops, found it in basecode/SETUP_settings.php.
seanspeng
9th of October 2006 (Mon), 02:45
How can I change the number of LATEST photos on the index page? Right now, it looks like display 8 of them.
Also can I change it to microthumb?
I did not find it in the setup_settings file.
Thanks!
DavidW
9th of October 2006 (Mon), 05:22
It's in the Index page settings (look in the administration interface under SETTINGS).
David
seanspeng
9th of October 2006 (Mon), 11:24
I did not find it in the Admin Settings page, nor the file SETUP_settings.php. Could you please be specific? I looked for it for many times, and did not see that.
What I wanted it is to change the LASTEST PHOTOS on the main Index page: change the number of LATEST PHOTOS number and type (thumbnail to microthumbnail).
yosemite
9th of October 2006 (Mon), 11:54
i can not find it on;
"Index page settings (look in the administration interface under SETTINGS)."
this seems to control the # and size of the photos displayed in a gallery.
anyone know how to control the "latest photos" size and quanity?
cferrero
9th of October 2006 (Mon), 12:36
I did not find it in the Admin Settings page, nor the file SETUP_settings.php. Could you please be specific? I looked for it for many times, and did not see that.
What I wanted it is to change the LASTEST PHOTOS on the main Index page: change the number of LATEST PHOTOS number and type (thumbnail to microthumbnail).
In Admin, go to Styles, then scroll down to Page Templates->Index: Content template and edit this file. Look for the line <?php ee_latest_photos("10","thumb"); ?> and modify as you require.
NB It depends which style you're using, but for me, the relevant file is called default_XHTML_content.php
yosemite
9th of October 2006 (Mon), 13:46
thank you. i finally found it and you can also change it to "microthumb" if needed.
do you know how to make the thumbs align center or right instead of being on the left side? mine are right up against the left side.
edit
to get it out from the edge i added values to cell spacing and padding for the table and i guess you could add align center or right.
seanspeng
10th of October 2006 (Tue), 02:19
Thank you very much. That helped.
tmweb
26th of October 2006 (Thu), 14:31
Whoops, found it in basecode/SETUP_settings.php.
where did you find it there??
batleys
11th of November 2006 (Sat), 06:08
where did you find it there??
Can anyone answer this please - I am also having difficulties here.
Simon
yosemite
11th of November 2006 (Sat), 11:40
the answer is in a post above
In Admin, go to SETTINGS/Styles, then scroll down to Page Templates->Index: Content template and edit this file. Look for the line Code:
<?php ee_latest_photos("10","thumb"); ?>
i use the free php editor pspad and did a search in index for the text:
"ee_latest_photos"
and found it on line 44
OneNoneBlond
22nd of November 2006 (Wed), 16:47
In the same file (default_XHTML_content.php), you can also change it to show random photos instead of latest:
change "ee_latest_photos" to "ee_random_photos"
and header for them:
"$latest_photos_header_html" to "$random_photos_header_html"
MikeCaine
24th of November 2006 (Fri), 06:24
I guess it would also be possible to show most popular photos then using the same method?
wcbert33
24th of November 2006 (Fri), 14:57
OneNoneBlond
Thanks for the random photo info, saved me some work.
Bill
Racer23
11th of April 2007 (Wed), 07:43
I cannot find it in that file
yosemite
11th of April 2007 (Wed), 12:13
hey racer, this is from previous posts:
In Admin, go to SETTINGS/Styles, then scroll down to Page Templates->Index: Content template and edit this file. Look for the line Code:
<?php ee_latest_photos("10","thumb"); ?>
use the free php editor pspad and search in index for the text:
"ee_latest_photos"
and found it on line 44
on your local copy you can find it at
ee2/templates/pages/ee_2_default/index/default_xhtml_content.php
Racer23
11th of April 2007 (Wed), 12:32
Got it thanks!
iam408
31st of July 2007 (Tue), 20:08
Hi Yosemite,
Where do you change the values on the table. I am trying to align the thumbnail to horizontal line and position it on the middle of the page.
Thanks
Kenny
thank you. i finally found it and you can also change it to "microthumb" if needed.
do you know how to make the thumbs align center or right instead of being on the left side? mine are right up against the left side.
edit
to get it out from the edge i added values to cell spacing and padding for the table and i guess you could add align center or right.
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.