S
|
scoobysteve author 7/30/2013 |
Hi I have a PHPR6.1 application that I need to reduce the size of the images in the edit page, As they were loaded up at a higher resolution when they re appear in the edit page they fill the screen, I only want a smaller image to be displayed, can you help please. I was given the code for this about a year ago but I cant find it on this forum anywhere please I could do with some help on this, the images are blowing out the edit screen and making it un useable. Tnx in advance thanks Steve
|
N
|
nohope4you 7/30/2013 |
In the visual editor, before </head>. put:
Can someone help me please, there is a way to fix this but I cant seem to find the answer anywhere. How to reduce the size of the images in the Edit page. |
S
|
scoobysteve author 7/30/2013 |
In the visual editor, before </head>. put:
|
N
|
nohope4you 7/30/2013 |
Sorry for not being specific enough. In the editor, if you have the class as .setimg in the style area, click on your image field, then hit the button to display the html code and your field will be highlighted at the bottom. before your field there will be a div tag that looks like <DIV class="fieldcontrolYOUR IMAGE FIELD NAME {$fielddispclassYOUR IMAGE FIELD NAME}">, (mine had a return in the middle so look out for that) So now look at what I did below to add the new class: |
S
|
scoobysteve author 7/30/2013 |
Sorry for not being specific enough. In the editor, if you have the class as .setimg in the style area, click on your image field, then hit the button to display the html code and your field will be highlighted at the bottom. before your field there will be a div tag that looks like <DIV class="fieldcontrolYOUR IMAGE FIELD NAME {$fielddispclassYOUR IMAGE FIELD NAME}">, (mine had a return in the middle so look out for that) So now look at what I did below to add the new class: before it said: <DIV class="fieldcontrolIMAGE FIELD {$fielddispclassIMAGE FIELD}"> now it says: <DIV class="fieldcontrolIMAGE FIELD {$fielddispclassIMAGE FIELD} setimg"> These classes are delimited by a space. that should do it. Also, earlier I left out that IMG tag on the style class so it should be .setimg img {width...height..;} so your div will pass it down to your img tag Thats great thank you so much, it is working but is there any reason why my 2 fields that have date pickers now have reduced in size and when you clcik on them the page goes to the top so I can't enter any dates ??? Kind Regards Steve |
N
|
nohope4you 7/30/2013 |
You're welcome... now lets hope someone answers my post <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=71679&image=1&table=forumreplies' class='bbcemoticon' alt='<<' /> |
S
|
scoobysteve author 7/30/2013 |
You're welcome... now lets hope someone answers my post <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=71680&image=1&table=forumreplies' class='bbcemoticon' alt='<<' />
|