Direct access of thumbnails - how???

liderbug

Joined: 2007-01-15
Posts: 5
Posted: Wed, 2009-07-01 15:27

version 2.3
PHP version 5.2.8
PHPInfo Link (see FAQ):
Webserver Apache latest ver
Database MySql 5.0.77
Activated toolkits all
Operating system 2.6.18-128.1.10.el5

Under G1 there was pic.jpg, pic.sized.jpg and pic.thumb.jpg. That allowed me to just link to the thumb directly from a web page and not have to have a separate image/thumb dir. Digging around, view source, I found "class=giThumbnail". Does that mean the thumbnails are done on the fly?

My orig code is: <a href=linkto/albums/sub/pic.thumb.jpg> <img src=...pic.jpg> </a>
so the page would have all sorts of text with images in given spots. If you clicked on the
thumbnail you would get the full 1280 image.

Thanks
cal

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Thu, 2009-07-02 20:01

You can't do that in G2. You can only find the full-size image under g2data if you have g2data exposed to the web, which is not recommended for security reasons.

Try the Formatted URLs plugin:
http://codex.gallery2.org/Gallery2:Modules:geturls
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here