-
AuthorPosts
-
January 9, 2013 at 10:41 am #183798
Hi there!
On http://www.prost-journal.at I installed JA Thumbnails.On the Teline IV demo site I see that the images have a Div container around them which secures the padding etc.
<div class="img_caption left" style="float: left; width: 200px;">
<img class="caption" align="left" title="Sample image" alt="Sample image" src="/ja_teline_iv/images/resized/images/stories/demo/sport/football-6_200_200.jpg">
<p class="img_caption">Sample image</p>
</div>Can that be done automatically, or do i have to add the container to every new image that i want individually?
(which would mean that i would have to do that for all existing articles (from our old website)!?)Thanks in advance for you help! 🙂
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
January 12, 2013 at 9:27 am #479472Hi,
It can be done with help of JA Thumbnail plugin and also depends on integration mode you’re using for this plugin.
There are 3 integration modes on the parameter list in backend settings of this plugin:
“Auto” mode: JA Thumbnail Plugin is enabled automatically in all Joomla articles. To turn off this feature for specific articles, use the {jathumbnail off}tag in that article.
“Manual” mode: To enable JA thumbnail plugin for an article, you must place {jathumbnail} somewhere in your articles content.
“Disable” mode: Disable the Thumbnail generation (DO NOT use the Disable feature of Joomla if you have used the tag {jathumbnail} or {jathumbnail off} already. It will be parsed as normal text.With different mode, you can decide all images will be applied or which one you don’t want to apply.
January 17, 2013 at 8:34 am #480128Thanks Saguaros,
I had it on auto, but it didnt treat the pictures the right way for the column view, because there was a style-tag.
I solved the problem by now with an extension called “DB Replacer”, which does Search and Find in the Database and I would change all the code in the articles at once (man, that saved so much time! :))
All i did was to search for “style=”width: ([^”]*)px; height: ([^”]*)px; float: left;”” (thats how everything was formatted on our old page) and exchanged it to “align=”left” class=”caption” ” – everything pretty now!
-
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by Saguaros 11 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum