Topic: Support/Comments for DirectResize  (Read 29619 times)

Pages: [1] 2 3 ... 8   Go Down

#1: 10-Jan-2008, 10:58 AM


Metaller
Posts: 1,207

This is an auto-generated support/comment thread for DirectResize.

Use this forum to post any comments about this addition or any questions you have regarding its use.

Brief Description:
Its like Maxigallery but for single images.

Fix with lost placeholders inside img tag after document saving

0.9.0 beta with PHPThumb is here. Please, read this message
« Last Edit: 10-Jan-2009, 03:01 PM by Metaller »
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 :: Support :: Old topic
Maxigallery для одиночных изображений - русскоязычный топик

#2: 12-Jan-2008, 02:26 AM


Metaller
Posts: 1,207

Sorry, i forgot to add empty drgalleries folder to archive. If you have no this folder, create it as subfolder in assets.
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 :: Support :: Old topic
Maxigallery для одиночных изображений - русскоязычный топик

#3: 11-Feb-2008, 07:09 AM

worchyld
Posts: 354

I love MODx!

Is it possible to combine DirectResize with Template variables?  If so, please give an example of how to do this.

#4: 11-Feb-2008, 08:10 AM

Mike L.
Posts: 39

Code:
[+phx:if=`[*docthumbnail*]`:is=``:then=``:else=`<img src="[*docthumbnail*]"  title="[+phx:if=`[*docthumbdescr*]:is=``:then=`[*menutitle*]`:else=`[*docthumbdescr*]`+]" alt="[+phx:if=`[*docthumbdescr*]:is=``:then=`[*menutitle*]`:else=`[*docthumbdescr*]`+]" align="left" width="180" class="drlightbox">`+]

docthumbnail is a TV with type image.
Image Widget is not used (thats why I insert "<img ....")
Insert the code above in a chunk and use it in your template.
« Last Edit: 11-Feb-2008, 08:12 AM by endyzer »

#5: 11-Feb-2008, 09:18 AM

worchyld
Posts: 354

I love MODx!

Thank you so much for this -- I actually got the thumbnailing to work with your plug-in!

Code:
[+phx:if=`[+tv_vehicle_picture+]`:isnot=``:then=`<img src="[+tv_vehicle_picture+]" width="100" style="border:none;" />`+]

Quick question -- how do you change the border colour produced by the plug-in? It is a dark grey colour.
« Last Edit: 11-Feb-2008, 09:24 AM by worchyld »

#6: 11-Feb-2008, 09:34 AM


Metaller
Posts: 1,207

Look for *.css in the assets\plugins\directresize\libs\your_config_name
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 :: Support :: Old topic
Maxigallery для одиночных изображений - русскоязычный топик

#7: 12-Feb-2008, 04:32 AM

worchyld
Posts: 354

I love MODx!

Okay - thanks so much!

#8: 12-Feb-2008, 03:28 PM

Mike L.
Posts: 39

I figured out that the Plugin havin problems with http://www.domain.de and http://domain.de
First one - no problems
Second (without www: the plugin does not create/show thumbs or the lightbox/slimbox/... link

#9: 13-Feb-2008, 12:53 AM


Metaller
Posts: 1,207

I need more information about this problem. domain.de is the domain where plugin installed or where located images processed by plugin.
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 :: Support :: Old topic
Maxigallery для одиночных изображений - русскоязычный топик

#10: 14-Feb-2008, 07:09 AM

worchyld
Posts: 354

I love MODx!

I got the thumbnail working within a ditto template - but it totally ignores my Alt tag - and it puts in HTML code that is sometimes empty and so invalidates my page.

I'd like to change the HTML - I can do this within the config file - but the documentation seems to imply you can do it via chunks by setting up your own template.

Quote
Parameters
$tpl = Chunk name (defaulted to assets/plugins/ directresize/templates/lightboxv2.html

Placeholders
[+dr.alt+]

But I am confused as to how to do this - Am I right in thinking I create my own config file - or is it done via the ditto call? 

#11: 14-Feb-2008, 02:05 PM


Metaller
Posts: 1,207

It is incorrect that you can use chunk name in $tpl parameter. In last version of plugin $tpl is html code  with own placeholders, not chunk or file name - only html code. All configuration is in config file in direct resize folder.
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 :: Support :: Old topic
Maxigallery для одиночных изображений - русскоязычный топик

#12: 2-Mar-2008, 02:05 PM


Pete
Posts: 143

Berating the internet one line of code at a time

WWW
Cheers for this plugin - it's really great Smiley

My only problem so far is that images with .jpeg extension (not .jpg, those are fine) don't seem to be parsed by the thumbnailer.

Changing the extension to .jpg and re-uploading them doesn't seem to work either.

Any ideas?

EDIT: Seems to be only pictures with either an ampersand (&) or the word "and" in the title. Is some part of the code trying to parse these bits as literal PHP?
« Last Edit: 2-Mar-2008, 02:13 PM by Pete »
Notanotherdotcom Ltd

Web | Print | Marketing

#13: 24-Mar-2008, 08:32 PM

AntonL
Posts: 136

I noticed that the thumbnail images and the "wysiwyg..." images stay in the drgalleries folder (for each doc) even after they are removed from the doc in the RTE. This means that my client will end up with hundreds or even 1000s of redundant image files in the drgalleries folders over time as they keep editing their docs. Is there any way to delete the removed images automatically?

Thanks,
Anton

#14: 25-Mar-2008, 03:32 AM


Metaller
Posts: 1,207

@AntonL Just look in readme for &clearCache option in plugin configuration.
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 :: Support :: Old topic
Maxigallery для одиночных изображений - русскоязычный топик

#15: 25-Mar-2008, 06:53 AM

Jako
Posts: 107

WWW
You have to put this anywhere on the download page and maybe it is not a good idea to make the example using a 'semi-commercial' script:

Quote
Redistribution: You are allowed to distribute Highslide JS with non-commercial packages given that you a) emphasize on your download page that Highslide JS is not free for commercial use, and b) provide a link back to this web page on your download page.

#16: 25-Mar-2008, 09:13 AM

AntonL
Posts: 136

@metaller: Thanks for the fast reply! I changed the &clearCache parameter to = 1 and that seemed to do the trick.

Anton

#17: 25-Mar-2008, 10:12 AM


Metaller
Posts: 1,207

@Jako Maybe you are right. I paste this redistribution in readme.
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 :: Support :: Old topic
Maxigallery для одиночных изображений - русскоязычный топик

#18: 21-May-2008, 02:35 AM

Testers

Dimmy
Posts: 2,001

Я не говорю по-русски 私は日本語を話さない

WWW
I really like this plugin,

But what I like to see is that you can user the directresize plugin with differed configs depending on the div thats in

I like to use it small in my sidebbar (product images) but bigger in the content between introtext and content using a tv.
but now I can only use one config that does not look at the container div but processes all images entered in the manager.

would it be posible to make it more flexible? so that you can set a div name in the config and when image is in that div it wil be treated another way?

or is it possible to use the allow_from parameter to run the plugin twice? using lets say in the first plugin the config=highslide and in the second highslide2?

#19: 21-May-2008, 02:51 AM

Testers

Dimmy
Posts: 2,001

Я не говорю по-русски 私は日本語を話さない

WWW
Ok this last part worked we made a copy of the plugin and a copy of the config and this worked like a charm.

#20: 21-May-2008, 03:30 PM


Metaller
Posts: 1,207

As you can read in readme, ToDo section:

    * The ability to make different sets of configuration parameters for use in various documents of a site.

I'm agree with you that it will be very useful feature.

I hope there will be time this summer to resume work with plugin.
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 :: Support :: Old topic
Maxigallery для одиночных изображений - русскоязычный топик
Pages: [1] 2 3 ... 8   Go Up
0 Members and 1 Guest are viewing this topic.