#232 – Image browser popup height

Status: Closed - Category: Econa
Hi

Is it possible to change the height of the image browser popup? The view with fixed height and with only two visible lines is difficult for use.

Hi,

Yes, it is. The problem is that this is the core modal and it is not responsive. If we increase this too much some users will not able to use it at all.

Making it at 800 pixels seems like the maximum value we can apply.

In order to test this just edit the file plugins/content/econa_article_images/forms/econa.xml and add the attribute height="800" to the media field on line 5.

Regards
 
Please ignore my previous message. It seems that this cannot be changed. The only way to change this is to use a custom modal. This is a restriction of the core Joomla modal.

 
At the end, things got even worse. Even if we change the modal height or use a different modal it seems that the images list has a hardcoded height of 200 pixels. This means that it's impossible to make the core media manager. The only solution is to build a custom media manager.

Regards
 
I found the solution.
Just put the css file at /administrator/templates/isis/css/custom.css
div.modal {
	height: 80%!important;
}
.modal-body, .modal-body iframe {
	max-height: none!important;
	height: 100%!important;
}
.contentpane.component, .container-popup {
	min-height: 100%;
}
iframe#imageframe {
	height: 60vh!important;
}
#imageForm .well {
	padding: 5px;
}
That's a solution that it is working but since it modifies core files it cannot be added in our extension.

Thank you for sharing this just in case someone else needs it.

Please let me know if you need anything else.

Regards
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

 

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
Follow us in Facebook to get the latest news and updates about our extensions!
Facebook
Follow us in Twitter to get the latest news and updates about our extensions!
Twitter