![]() |
|
Issues with tinyZenpage wrap text - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Issues with tinyZenpage wrap text (/thread-10430.html) |
Issues with tinyZenpage wrap text - JerryE - 2012-09-20 I am using tinyZenpage to add thumbnails and custom sized images to a news article. I want to float the image to the left or right and have the text wrap around it. Here is what I do: If I use the insert/edit image button appearance tab to set the alignment to left, the editor page displays it correctly. I apply the change and view the webpage in firefox. [Image: http://mysite.com/zp-core/i.php?a=gallery/shuttle-discovery-comes-to-udvar-hazy&i=DSC_5382r.jpg&s=200&wmk=!]All eyes are scanning "There it is!". ` It appears that the entire tag is escaped. It is still a clickable link but the image is not displayed. I can get it to work at the start of the page, but not in the middle. It appears that something is losing track of what needs to be escaped. I do use quotes, double quotes, and other punctuation in the article. What gives? My config is as follows: Issues with tinyZenpage wrap text - acrylian - 2012-09-20 To escape code you need to use either the ` A theme needs the proper css classes definitions as described on the help text. We tried to avoid inline css where we can. These are also important so the margin between image and text is to your liking. I have looked, the Zenpage theme indeed misses some of theme. There are various combinations: There is the image itself as you used it but there are also the wrapper ones if the title and/or description should be shown. Since they vary on the image size chosen it is not really possible to predefine theme (float only works on block elements with a width set!). You can also use the left/right text alignment buttons to get an image wrapping afterwards. Issues with tinyZenpage wrap text - JerryE - 2012-09-21 Thanks for your help. I saw the help instructions about providing a default CSS class. I interpreted that as: Quote:...there is a default class [i]and style provided[/i] to do text wrapping [i]but you will have to style it yourself to make it look better.[/i] Quote:So that you can see [i]immediate[/i] results [i]in your published page without adding any style yourself[/i], some inline CSS is attached to your page. I agree with your design goal of trying to avoid inline CSS. Once again, thanks, Issues with tinyZenpage wrap text - acrylian - 2012-09-21 Yes, the "default class and style provided" means they are attached but need to be defined via CSS to look as wished (since you can use that with any theme that might not have). Actually there was once at least inline float attached but maybe that got lost unnoticed some time along the way or we threw it out on purpose and forgot to change the text.. Anyway, good that it so far fits your needs. |