Show full-size image on HTML page?
|
bigu_c
![]()
Joined: 2007-10-28
Posts: 417 |
Posted: Mon, 2011-12-26 02:35
|
|
Hello, I want to show my full-size images on a HTML page (to add some ads). How can I do? |
|


Posts: 25957
<img src="http://example.com/gallery3/var/albums/albumName/photoname.jpg" height=xxx width=xxx />You have to explain what you want to do and how you want to get the image.
Dave
____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 417
Hi Dave,
I want to open a HTML file contain my full-size image when I click on re-size image on my photo page.
Thanks.
Posts: 25957
I guess it would depend on the theme you are using. How much customization have you done?
photo.php.html would be the file to modify.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 417
If you can give me example code for default theme, I think I can do for other theme.
Thank you.
Posts: 25957
In photo.html.php find
<a href="<?= $item->file_url() ?>" class="g-fullsize-link" title="<?= t("View full size")->for_html_attr() ?>">The class g-fullsize-link tells the browser to open a modal window. If you remove that class the full size image will be loaded in the current window. You can add a target to open in a new window:
<a href="<?= $item->file_url() ?>" target="new" title="<?= t("View full size")->for_html_attr() ?>">Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team