Modal Window Size

Phoca Gallery - image gallery extension
schmaka
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 09 Sep 2013, 03:16

Modal Window Size

Post by schmaka »

I'm trying to use the Modal Popup to view my images, however no matter what I do I can't adjust the size of the Modal Window and iFrame.

Everyone here keeps saying just to change the "Detail Window Width" and "Detail Window Height" fields in System preferences, under the Thumbnail tab. When I do this, nothing changes. Every window, including the desired Modal window appear at 460px x 360px.... to make it more confusing this isn't even the default settings specified by PhocaGallery.

Any ideas why this is happening?

cheers
Schmaka

Joomla 3.0.2
JoomlaXTC Enterprise template
schmaka
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 09 Sep 2013, 03:16

Re: Modal Window Size

Post by schmaka »

Not sure if it helps, but I have been clearing cache and testing this problem with the default Joomla templates. Same problem occurs.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Modal Window Size

Post by Jan »

Hi, the windows size is made by thumbnail sizes (large thumbnails) - if you resize the thumbnails and then you will recreate the thumbnails, detail window will be different (larger or smaller - depends on which size you will set)

Jan
If you find Phoca extensions useful, please support the project
Orestes
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 01 Jan 2014, 22:23

Re: Modal Window Size

Post by Orestes »

I am have this exact problem. I have searched this forum high and low and found several threads about this issue, but none that really solve it.

I have 3 sites running Joomla 2.5 and phoca 3.26. Each with a different template, and two of the three experience this issue. All iframe methods (modal, standard pop-up, boxplus, exc) are locked at 480x360 despite what I have entered into the detail view parameters. When I use my browsers 'inspect elements' tool on the front end, I see clearly that the iframe window is coded to that exact size for reasons unknown. If have tried all the suggestions I've read from other threads. I have disabled SEF. No change. I have tested it with ALL the default templates (Beez5, beez20, exc) No change either. I have Multibox settings disabled.

This is my settings:

Large Image Width -800
Large Image Height -800
Medium Image Width -250
Medium Image Height-250
Small Image Width -150
Small Image Height -150
Detail Window Width -820
Detail Window Height -820


And here is the code as it is displayed to the front end with Modal enabled of one of the thumbnail boxes.

Code: Select all

<div class="phocagallery-box-file pg-box-image" style="height:288px; width:210px;">
<div class="phocagallery-box-file-first" style="height:263px;width:208px;margin:auto;">
<div class="phocagallery-box-file-second">
<div class="phocagallery-box-file-third">
<a class="pg-modal-button" title="" href="/index.php/gallery/9-digital-illustrations-3d/detail/86-art-from-grimbriar-arbor?tmpl=component" rel="{handler: 'iframe', size: {x: 480, y: 360}, overlayOpacity: 0.1}" ><img src="/images/phocagallery/digitalart/thumbs/phoca_thumb_m_grimb-main01.jpg" alt="Art from Grimbriar Arbor" class="pg-image" /></a><img src="/components/com_phocagallery/assets/images/icon-new.png" alt="" class="pg-img-ovr1" />
</div></div></div>
<div class="pg-name" style="font-size:13px">Art from Grimbriar Arbor</div></div>
So why on earth is it sizing the windows to 480 x 360?

Thanks!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Modal Window Size

Post by Jan »

Hi, which version of Phoca Gallery you are using. There are other parameter settings in some of the previous Joomla! versions, see:
https://www.phoca.cz/documents/16-joomla ... -in-joomla

Check if this is not the case, why you get other settings values.

Jan
If you find Phoca extensions useful, please support the project
Orestes
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 01 Jan 2014, 22:23

Re: Modal Window Size

Post by Orestes »

Orestes wrote:I have 3 sites running Joomla 2.5 and phoca 3.26....
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Modal Window Size

Post by Jan »

Hmm, then try to check the cache settings :idea:
If you find Phoca extensions useful, please support the project
Orestes
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 01 Jan 2014, 22:23

Re: Modal Window Size

Post by Orestes »

Within phoca's options I've had cache disabled from the start. I've cleared Joomla's cache, and cleared the cache from my cpanel. The problem persists. :idea:

Where does phoca store its options data? I didn't see a database row for it...could it somehow have a double entry somehow? I'm grasping at ideas at this point.. :roll: :x
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Modal Window Size

Post by Jan »

Hi, Phoca does not have store the options. Options are managed by Joomla!. Joomla! com_config component manages it and stores it in its tables. In fact all this happens outside the component - component only gets the information about it.

Jan
If you find Phoca extensions useful, please support the project
Orestes
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 01 Jan 2014, 22:23

Re: Modal Window Size

Post by Orestes »

What would the default table be in joomla 2.5 in which this info would be stored?
Post Reply