#933 Posted in ‘Econa’

Latest post by Lefteris Kavadas on Tuesday, 13 September 2022 20:18 EEST

Stepanov Ruslan
Hi! How can i do modal popup for full article image? Like link to big image or original. Thanks!

Content - Econa - doesn't seem to work on joomla 4 :(

Lefteris Kavadas
Hi Stepanov,

Econa works fine with Joomla 4. You can try add a custom field or even use Econa for core intro and full images of the article. However, there is no modal functionality on those images since there are no image sizes variations.
Econa integrates with Joomla in several ways. You can always refer to the documentation at https://www.firecoders.com/documentation/econa .
Please let me know if you have any questions.

Regards

Stepanov Ruslan
Ok.

Is it possible to add pop-up functionality for the full image in article? For example on my site position width content has width 800px and settings for full image is 1200px. So i need just to pop-up image even there are no image sizes variations. Thanks!

Lefteris Kavadas
Hi Stepanov,

No unfortunately not. Econa cannot do this because it requires a layout change and the core images are rendered by the core Joomla layouts.
You will have to create a layout override for the core com_content article layout. And there add a link to the "large" image. This link should wrap the "small" image.
Not sure how you will do this since you have only one size for the image. If you do this and just add the "econaFieldModal" class to the link the Econa modal should work.
But again I don't think this is flexible. I think it's better to just use a custom field with Econa.

Regards

Note: An active subscription is required in order to get support for our paid extensions. For our free extensions, if you don't have an account, register and then submit your support request.  In case you just want to ask a question, you can also use the contact form .

Firecoders
Are you using our extensions? Please post a review at the Joomla extensions directory!
Post a review