Keyword

item image popup can it be resized???

  • rajeevkkrishna
  • rajeevkkrishna's Avatar Topic Author
  • Offline
  • New Member
More
13 years 7 months ago #94061 by rajeevkkrishna
item image popup can it be resized??? was created by rajeevkkrishna
Hi I am Rajeev K Krishna,

 

I am working on a site where i need to keep an Image in the Item.

I inserted the Image from Image tab of the Item.

Its working fine & It is resizing as per s,m,l,XL defined sizes.

The problem I am facing is that when viewing individual Items,

from Items View, after clicking on the image, I am able to get a popup of the image as XL,

but it is being scaled to 544px × 408px. which should be 1000 X 500 as per my custom settings.

how can i solve this issue ????

 

Please help me In this regard.

live site : www.crisisindia.com/index.php?option=com_k2&view=item&id=33:test&Itemid=108

 

regards,

 

Rajeev k Krishna

www.manatown.com

+91 9533553551

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #94062 by Terry Britton
Replied by Terry Britton on topic item image popup can it be resized???
You have either modified the php file or are using an override template.  See the attached image.  The code on the top is from my website, on the bottom from yours.  Firstly, the a class should be modal, not modall.  Secondly the code is opening up the new window with a width of 900 and height of 600.  If you click on the image in the new window it will increase to the size you have set so the problem is the new window size of 900x600 is too small.

 

Also, the image should be in a modal instead of a new window unless something has been changed.

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago #94063 by Yaroslav
Replied by Yaroslav on topic item image popup can it be resized???
Hello. You can also modify file "media/system/js/modal.js"

You need to set up "marginImage" property in line ~23.

 

 

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum