Metaller
I can do that if I must, but the site just went live.
First, can you tell me if this should work when part of a ditto call? Do I need to do something different in the ditto tpl to make this work?
Thanks.
www.terrybarthdesign.com
I don’t realy know why this is not worked in ditto. In fact there is no any reason why DR can’t work in ditto.
So can only try new version and may be it will be work. It was totally rewritten and I don’t want to find and fix any bugs in 0.8.
PS Are this images realy have "title" attribute?
DirectResize 0.9 beta. PHPThumb, sets of configurations, configuration, binded to specific path. No backward compatibility. |
DirectResize 0.9. PHPThumb, наборы параметров, параметры, привязанные к определенным путям. Без обратной совместимости.
Unfortunately, DirectResize project is closed. If you want to continue development, PM me for access to project page on Google Code. К сожалению, проект DirectResize закрыт. Если вы желаете продолжить разработки, обращайтесь через ПМ для получения доступа к репозиторию на Google Code.
[PLUGIN] DirectResize - as Maxigallery but for single images ::
Download :: [url=
http://modxcms.com/forums/index.php/topic,21490]
Metaller
You’re right on the money! The was no title/alt content associated with the ditto output. I build this site a while a go and had forgotten the image on the product page and the image on the ditto output were placed using two different methods. The product page inserted the image into TinyMCE. I used a TV to populate the ditto tpl. Same image but two different calls.
I’m good to go.
Thank you!
www.terrybarthdesign.com
Hey is there any way to specify a different image for the zoomed image vs. the thumbnail? I have two TV’s w/ image paths that should be called in a ditto call, but if I put the a href tag in with the big image, it just wraps it again. Any ideas?
"Great spirits have always encountered violent opposition from mediocre minds." -Albert Einstein
No. Main function of DR is to resize images, make thumbs from big images. Then, if you want - you can use java-script to zoom thumbs and show original big image. But thumbs is a small copy of big image, this is the same image, not different.
DirectResize 0.9 beta. PHPThumb, sets of configurations, configuration, binded to specific path. No backward compatibility. |
DirectResize 0.9. PHPThumb, наборы параметров, параметры, привязанные к определенным путям. Без обратной совместимости.
Unfortunately, DirectResize project is closed. If you want to continue development, PM me for access to project page on Google Code. К сожалению, проект DirectResize закрыт. Если вы желаете продолжить разработки, обращайтесь через ПМ для получения доступа к репозиторию на Google Code.
[PLUGIN] DirectResize - as Maxigallery but for single images ::
Download :: [url=
http://modxcms.com/forums/index.php/topic,21490]
Metaller, thanks a lot for your quick response. I realized I didn’t even need that in the end. Thanks, great plugin!
"Great spirits have always encountered violent opposition from mediocre minds." -Albert Einstein
Hi Metaller,
I need to integrate a range of images into different pages of my site. As final image size is determined according to the text flow, resizing is not automated but done "by hand" in TinyMCE (dragging the image border with the mouse).
Using DirectResize, what I need to accomplish is that these resized images get resampled and stored in cache to save bandwidth. Up to now images just get rescaled but stay the same size, e.g. image dimensions: 146px × 269px scaled to 105px × 188px)
I do not intend to link to the original images. I am only interested in creating the thumbnails.
Finally, I need to be able to select css classes for the images from within the TinyMCE dropdown menu to allow for different image positions (flow:right, flow:left)
So far I have not been able to find any instruction for DirectSize 0.9 (rev 6) that deals with these points. Therefore I would be very glad if you could tell me how to accomplish these goals.
Thank you very much in advance!
Stefan
Hi.
Yes, it’s true. You need to use "thumbonly" in your config file like this:
$dr_local["thumbonly"]["all"] = true;
ALL images will have only thumbnail without big image. You can use any of standart config files or create you own based on one of them. You can delete $dr_local["header"] section.
<?php
$dr_global["path"] = "
assets/images/
";
$dr_local["tpl_thumb"]["all"] = <<<HTML
[+dr.shortcut.source2thumb+]
HTML;
$dr_local["thumbonly"]["all"] = true;
?>
With this config all attributes (and class too) will be copied from original image in TinyMCE to generated thumbnail.
DirectResize 0.9 beta. PHPThumb, sets of configurations, configuration, binded to specific path. No backward compatibility. |
DirectResize 0.9. PHPThumb, наборы параметров, параметры, привязанные к определенным путям. Без обратной совместимости.
Unfortunately, DirectResize project is closed. If you want to continue development, PM me for access to project page on Google Code. К сожалению, проект DirectResize закрыт. Если вы желаете продолжить разработки, обращайтесь через ПМ для получения доступа к репозиторию на Google Code.
[PLUGIN] DirectResize - as Maxigallery but for single images ::
Download :: [url=
http://modxcms.com/forums/index.php/topic,21490]