I want to have big thumbnails (300px width) only for the meta albums on the index.php but the thumbnails are just 128px width.I don't won't to crop all the thumbs at 300px because I am on a shared host.
Can coppermine have a condition to use the actual image not the thumbnails for the meta albums only on the index.php?
Copy the function theme_display_thumbnails from themes/sample/theme.php to your theme's theme.php file, if it doesn't exist.
Find
$superCage = Inspekt::makeSuperCage();
and below, add
global $CPG_PHP_SELF;
if (!is_numeric($aid) && $CPG_PHP_SELF == 'index.php' && $cat == 0) {
foreach($thumb_list as $key => $value) {
$thumb_list[$key]['image'] = str_replace('/'.$CONFIG['thumb_pfx'], '/', $value['image']);
}
}
It shows only the filename,no image
src="albums/userpics/10001Charlize_Theron_photoshoot_028.jpg.
and it shows on category pages too.
Above code updated.
Thanks.It worked.
If someone needs this for all the pages just delete && $cat == 0 from Andre's code.