Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

php include integration and max view in twg13
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=65
Page 1 of 1

Author:  sophana [ 12. Oct 2005, 22:14 ]
Post subject:  php include integration and max view in twg13

Hi

I did an html page with nvu (html editor) and just inserted a php code inside a table:
include "index2.php";

it works just fine. except one detail: in max view mode, the image size is the same as the window size: it does n't take in account the table size.

You can test it with your php include example.

Is there a way to detect correctly the size of the max view so it can fit inside the table?

Thanks

Author:  TinyWebGallery [ 13. Oct 2005, 08:33 ]
Post subject: 

Hi,

This is true - I do only detect the browser size -
1.3 cannot detect if it is running inside a smaller table or
something.

Therefore I included a parameter in the config.php to turn
this modus off.

I'm looking for a solution for this under different szenarios but
right now I haven't found a solution that works on all browsers
the same way - IE is returning wrong values if I want to get
the size of my ourter most table.

If you include it in an iframe the size detection does work fine. but in a table is does not :cry:

/Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/