Page 1 of 1
Want to Resize "Image Manager" Container (make larger)
Posted: Mon Jun 21, 2010 7:43 am
by Brook
I have OpenCart 1.4.7 installed...
How do I make the "Image Manager" container window larger?
It appears to me that the "Image Manager" (FileManager) displays in a separate container (maybe an iFrame, not sure) that prevents me from making the container window any larger. How do I make the parent iFrame Container larger, ex. making the iFrame container twice the size that it is by default. Not sure if I understand how to resize the main container parent window. I think that I understand that I can resize the left column and the right column within the window, but is it possible to make the main container window larger?
I have tried to change the admin\view\template\common\filemanager.tpl file by increasing the container height and giving the container a width, with no success.
Ex increased container height from 340px to 500px and tried to give the container a width of 600px
admin\view\template\common\filemanager.tpl
Code: Select all
#container {
padding: 0px 10px 7px 10px;
height: 500px;
width: 600px;
}
Not sure what else to do... Any suggestions?
Re: Want to Resize "Image Manager" Container (make larger)
Posted: Wed Jul 07, 2010 8:59 pm
by DEHiCKA
\admin\view\template\catalog\product_form.tpl
in function image_upload change width and height to whatever you want.
Then change container, column_left and column_right sizes in the filemanager.tpl
Re: Want to Resize "Image Manager" Container (make larger)
Posted: Wed Jul 07, 2010 11:10 pm
by Brook
Thank you very much. Your post worked great.
Re: Want to Resize "Image Manager" Container (make larger)
Posted: Wed Oct 27, 2010 11:01 am
by jorkie
Making the default size of the image manager window larger... this post saved me a lot of time! Thanks!
Re: Want to Resize "Image Manager" Container (make larger)
Posted: Fri Nov 19, 2010 10:21 am
by stewiek
the code is not applicable for the latest version of opencart.
can anyone update on how to make the image manager larger?
Re: Want to Resize "Image Manager" Container (make larger)
Posted: Tue May 31, 2011 6:05 pm
by PetracheNicolae
stewiek wrote:the code is not applicable for the latest version of opencart.
can anyone update on how to make the image manager larger?
hello. after i have sean the solution here i decided to give it a try in opencart 1.9.5 since i needed this verry bad and in 1.5 is not fixed as well
here it is what i did
go to /admin/view/template/catalog/product_form.tpl
replace the lines from 825 to 829 with
Code: Select all
bgiframe: false,
width: 1300,
height: 600,
resizable: true,
modal: false
save, than go to admin/view/template/common/filemanager.tpl
replace lines 27 to 51 with
Code: Select all
#container {
padding: 0px 0px 0px 0px;
height: 530px;
}
#menu {
clear: both;
height: 29px;
margin-bottom: 3px;
}
#column_left {
background: #FFF;
border: 1px solid #CCC;
float: left;
width: 30%;
height: 520px;
overflow: auto;
}
#column_right {
background: #FFF;
border: 1px solid #CCC;
float: right;
width: 68%;
height: 520px;
overflow: auto;
text-align: center;
you can use what values you may require depending on your screen resolution -mine is 720p lcd, that's why i used 1300
olso, setting in first file resizable: true, makes it resizable in the windows.
all the credit goes to DEHiCKA for this (THANKS)
\admin\view\template\catalog\product_form.tpl
in function image_upload change width and height to whatever you want.
Then change container, column_left and column_right sizes in the filemanager.tpl
Re: Want to Resize "Image Manager" Container (make larger)
Posted: Thu Oct 27, 2011 1:57 pm
by Ozfarmer
Anybody worked out how to do this for 1.5.1.3?
Re: Want to Resize "Image Manager" Container (make larger)
Posted: Thu Oct 27, 2011 2:49 pm
by uksitebuilder
Re: Want to Resize "Image Manager" Container (make larger)
Posted: Thu Aug 14, 2014 1:39 am
by frankleng
There files are related.
<file name="admin/view/template/catalog/category_form.tpl">
<file name="admin/view/template/catalog/product_form.tpl">
<file name="admin/view/template/catalog/option_form.tpl">
<file name="admin/view/template/catalog/manufacturer_form.tpl">
Re: Want to Resize "Image Manager" Container (make larger)
Posted: Fri Aug 15, 2014 6:51 am
by biomall
Created a vqmod for this, download and usage are free :
http://web.ite.bg/blog/image-manager-wi ... extension/