My debug info
HTML Code:
Debug information
Version: 4.1.001
Photo Popup Settings (from AdminCP)
num_of_cols: 4 [4]
num_of_rows: 3 [3]
num_total: 12
widht: 800
heigth: 680
products: photopost
insert_options_allowed: orig_2_gallery_link_below link_thumb_2_gallery orig
allow_albums: 1
code_usergroups: 0
Code (this is what is inside the table cells)
<a href="#" onclick="thumbpaste('<a href=\'http://www.scalemotorcars.com/gallery/showphoto.php?photo=13215\'><img src=\'http://www.scalemotorcars.com/gallery/data/663/thumbs/hotrod.jpg\' style=\'border: 0\' /></a>','[url=\'http://www.scalemotorcars.com/gallery/showphoto.php?photo=13215\'][img]https://vborg.vbsupport.ru/external/2011/10/28.jpg[/img][/url]');event.returnValue=false;return false;"><img src="http://www.scalemotorcars.com/gallery/data/663/thumbs/hotrod.jpg" style="border: 0" title=""/></a>
Images query:
SELECT id, userid, bigimage, cat, medsize FROM pp_photos WHERE (userid = 2 ) AND storeid = 0 AND approved = 1 ORDER BY date DESC LIMIT 0, 12
Albums query (only if not coming from cache):
SELECT id,catname,ugnoview FROM pp_categories WHERE cattype = 'c' AND parent = 525 ORDER BY catorder
Pagination query:
SELECT COUNT('id') AS fotos FROM pp_photos WHERE (userid = 2 ) AND storeid = 0 AND approved = 1
Link to Original
[url]http://www.scalemotorcars.com/gallery/data/663/hotrod.jpg[/url]
Link to Thumb
[url]http://www.scalemotorcars.com/gallery/data/663/thumbs/hotrod.jpg[/url]
Used product: photopost
Albums possible: 1
Cookie
Read Cookie: photopost,,link_thumb_2_gallery,0
Set Cookie: photopost,,link_thumb_2_gallery,0
Cache Cookie: from database
Table building (rows and columns)
[td ][td][td][td][td][tr][td][td][td][td][tr][td][td][td][td]