Forum Moderators: open
Just downloaded MX - I've been using version 3, believe it or not, prior to this.
I LOVE the new code. Very clean. Too clean as a matter of fact. On all my images, the width and height attributes are missing from the IMG tag. All have border=0, but no automatically generated w,h.
Did I accidentally toggle something on or off that caused this?
J
Hopefully, someone else will know.
As a work around. I would set up your actions in photoshop to save them as whatever pixel width you need. Then create a table with the exact pixel width. I assume your portfolio will be relatively uniform.
Just as a problem solving step, I would .. open up another . HTML file that you know has the IMG w/h and see if the image values show up then.
Sorry I can't be of more help.
T
On the Properties panel, the height and width for each image are blank. There is a little "refresh/spinning arrow"-type icon next to them. When I click it, it inserts the width and height into the code.
Isn't there a way to automatically do this without having to go thru and click for each image?
J
Under Edit>Preferences>Accessibility
I checked "Show attributes when inserting images" and now when I put in an image, it prompts me for ALT text and adds the height and width to the code automatically.
If anyone knows how to add the height and width automatically WITHOUT the ALT prompt, please let me know! :-)
Thanks,
J
My set up is displaying the image attributes without the accessibility setting? I'm new to MX too? So there is a way - but not sure how to change it - I will keep my eyes open for you.
height and width automatically WITHOUT the ALT prompt
As a side note - it is best practice to add alt text to every image regardless of how tedious. See it as an incremental boost to your SERPs and makes life easier for users with accessiblilty software or those with images turned off.
Ta, Limbo