Support > cpg1.5 miscellaneous

showing images

<< < (2/2)

Joachim Müller:
What would be the purpose of changing your browser setup? In which aspect will this change the way your visitors will perceive your gallery?

Joe Carver:
I think (but am not 100% certain) that this resizing is driven by file: js/displayimage.fullsize.js. It seems
to do a nice job of getting the available window size for the user's browser.
It ends with:     adjust_popup();

 @utu, You could adjust/customize your theme.php by adding this section to your custom theme - get it from themes/sample/theme.php:

--- Code: ---/******************************************************************************
** Section <<<theme_display_fullsize_pic>>> - START
******************************************************************************/
// Display the full size image

CODE CODE CODE CODE CODE

/******************************************************************************
** Section <<<theme_display_fullsize_pic>>> - END
******************************************************************************/
--- End code ---

Find the line that reads:

--- Code: ---        <script type="text/javascript" src="js/displayimage.fullsize.js"></script>
--- End code ---
Remove the line. Save your custom theme.php.

Remember to add the complete section/function to your custom theme after making a backup copy.

In my opinion it seems to be a 'non-visitor friendly' modification and could possibly be done with a plugin.
But since it is your site and they will be your visitors - I can only say good luck and .."no warranty with this post" (it worked for me just now)

utu:
@Joachim: usually I upload hires photos on my gallery to show the stringed instruments to my visitors, they want see the grain of the wood and other smaller things. If I upload a 1600x1200 photo, would be not so good if it will be reduced at 900x700.

@Joe: thank you very much, your adjustment worked! :)

Navigation

[0] Message Index

[*] Previous page

Go to full version