Is it possible to change the display-size of filmstrip thumbnails without changing the actual thumbnails? For instance, display the filmstrip thumbs as 50% of the actual thumb display size. Coppermine version: 1.5.20; theme=classic_vstrip, mobile switch and mobile_light theme;
Thank you for your consideration. http://saturday-only.hostoi.com/gallery
Copy the function theme_display_film_strip from themes/sample/theme.php to your theme's theme.php file, if it doesn't exist. Then, find
foreach($thumb_list as $thumb) {
and below, add something like
$thumb['image'] = str_replace('<img ', '<img height="50" ', $thumb['image']);
If this works for you as expected, we also need to adjust the dynamically loaded thumbnails. Let me know.
Works exactly as you suspected. The filmstrip thumbs display in the new size (height of 50 pixels in this example) except, when the thumbnail strip is scrolled, the newly displayed thumb is displayed in its original size
Open js/displayimage.js, find all occurences of
<img border="0"
and replace each with
<img border="0" height="50"
(8 times in total).
Works exactly as described, your expertise is commended. Thank you very much. Is it also possible to adjust the filmstrip thumb cell sizes which hold these thumbs (without modifing the non-filmstrip thumb cell sizes of other pages)?
Open include/functions.inc.php, find
$thumb_width = $CONFIG['thumb_width'];
and above, add something like
$CONFIG['thumb_width'] = '60';
Works perfectly, thank you very much for your time. I can now display the filmstrip thumbs in an adjustable display-size inside of their adjustable filmstrip thumb_cell sizes. Coppermine Gallery is powerful software with excellent voluntary support.