Topic: DirectResize : Plugin to resize your images  (Read 9984 times)

Pages: 1 [2]  All   Go Down

#21: 12-Sep-2007, 04:07 PM

Marketing & Design Team

davidm
MODx evangelist
Posts: 7,073

The best way to predict the future is to invent it

WWW
Slimbox is totally separated from the DirectResize plugin... it has to do with your templates NOT with the plugin.
I didn't check it, but your issue probably has to do with CSS Wink
.: nodeo.net : Pour un web libre, moderne et ouvert ! :: david-molliere.net : Suivez en "live" mes expérimentations et billets sur les CMS et autres applications web :.

*** Forums modxcms.fr Participez à l'élaboration du site MODx francophone ! ***

! Nouveau !  En live, ne manquez pas les news de modxcms.fr sur Twitter   ! Nouveau !

MODx est l'outil idéal pour les developpeurs et webdesigners qui cherchent un framework de gestion de contenu hautement flexible et performant, tout en étant simple d'accès pour les utilisateurs finaux.

Config : Apache 2.2.8 - MySQL 5.0.67 - PHP 5.2.8 | Debian 4.0 (Etch)

Réalisations sous MODx : | pargade-notaires.fr | soleil.info | gican.asso.fr | michelez-notaires.com | amadom.gerondicap.com | jocelyne-violet.net

#22: 12-Sep-2007, 04:21 PM

Testers

dev_cw
Posts: 4,179

WWW
Look for z-index conflicts. The slimbox needs to be above all other levels.
Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

Something is happening here, but you don't know what it is.
Do you, Mr. Jones?  -  [bob dylan]

#23: 18-Sep-2007, 06:35 AM


lokust
Posts: 159

everything in this box is false

WWW
Here's my vote for Metallers suggested DirectResize version: * new resizing method - crop image.

phpthumbs crop image functionality would be perfect so those fixed size images can be re-sized proportionately instead of squashed.





bristol restaurants - Check out EATOUT.co.uk - restaurant reviews for the UK

#24: 5-Oct-2007, 10:39 AM


Metaller
Posts: 1,207

Hi!

I finished my version of DirectResize plugin about a week ago and now trying to write full documentation. Then documentation will be translated (i hope) into english and i put plugin for downloading and testing on forum.

Plugin is not tested for a very long time and i hope you can help me to do this.

@Perrine now plugin can process images from remote sites
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 для одиночных изображений - русскоязычный топик

#25: 5-Oct-2007, 10:42 AM

Moderators

Perrine
Posts: 1,776

WWW
Good news Metaller !

Tell us when we can test it... I can help for french translation Wink
Nouveau sur MODx ? ||
Recherche
Communauté FR
Documentation FR
Réalisations sous MODx
Webolution
Entreprise AGS
J'aurais dû lui dire...
Atelier d'architecture Gambino
Déco'In : l'idée deco qu'il vous faut
HistWar : jeu de stratégie napoléonien

Ma config : MODx 0.9.6.3 / 1.0 || Apache 2.2.14 || PHP 5.2.11 || MySQL 5.0.45 || Debian 4.0 (Etch)

#26: 5-Oct-2007, 12:36 PM

Marketing & Design Team

davidm
MODx evangelist
Posts: 7,073

The best way to predict the future is to invent it

WWW
Does this version of the plugin include the ability to define a default size for images without width or height attributes ? I think it would be interresting since user don't always remember to do things right having a fool proof default setting would be handy Smiley
.: nodeo.net : Pour un web libre, moderne et ouvert ! :: david-molliere.net : Suivez en "live" mes expérimentations et billets sur les CMS et autres applications web :.

*** Forums modxcms.fr Participez à l'élaboration du site MODx francophone ! ***

! Nouveau !  En live, ne manquez pas les news de modxcms.fr sur Twitter   ! Nouveau !

MODx est l'outil idéal pour les developpeurs et webdesigners qui cherchent un framework de gestion de contenu hautement flexible et performant, tout en étant simple d'accès pour les utilisateurs finaux.

Config : Apache 2.2.8 - MySQL 5.0.67 - PHP 5.2.8 | Debian 4.0 (Etch)

Réalisations sous MODx : | pargade-notaires.fr | soleil.info | gican.asso.fr | michelez-notaires.com | amadom.gerondicap.com | jocelyne-violet.net

#27: 5-Oct-2007, 12:52 PM


Metaller
Posts: 1,207

Interesting idea, i have not thought about it. Since this moment plugin is include the ability to define a default size for images without width and height attributes  Smiley

If image have only width or height, other dimension is calculated 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 для одиночных изображений - русскоязычный топик

#28: 5-Oct-2007, 12:54 PM

Marketing & Design Team

davidm
MODx evangelist
Posts: 7,073

The best way to predict the future is to invent it

WWW
By that you mean it does or does not have the capability to assign a default size ?
.: nodeo.net : Pour un web libre, moderne et ouvert ! :: david-molliere.net : Suivez en "live" mes expérimentations et billets sur les CMS et autres applications web :.

*** Forums modxcms.fr Participez à l'élaboration du site MODx francophone ! ***

! Nouveau !  En live, ne manquez pas les news de modxcms.fr sur Twitter   ! Nouveau !

MODx est l'outil idéal pour les developpeurs et webdesigners qui cherchent un framework de gestion de contenu hautement flexible et performant, tout en étant simple d'accès pour les utilisateurs finaux.

Config : Apache 2.2.8 - MySQL 5.0.67 - PHP 5.2.8 | Debian 4.0 (Etch)

Réalisations sous MODx : | pargade-notaires.fr | soleil.info | gican.asso.fr | michelez-notaires.com | amadom.gerondicap.com | jocelyne-violet.net

#29: 5-Oct-2007, 12:58 PM


Metaller
Posts: 1,207

It mean that i make it in plugin right now
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 для одиночных изображений - русскоязычный топик

#30: 5-Oct-2007, 12:58 PM

Marketing & Design Team

davidm
MODx evangelist
Posts: 7,073

The best way to predict the future is to invent it

WWW
Woot that's cool, really Grin
.: nodeo.net : Pour un web libre, moderne et ouvert ! :: david-molliere.net : Suivez en "live" mes expérimentations et billets sur les CMS et autres applications web :.

*** Forums modxcms.fr Participez à l'élaboration du site MODx francophone ! ***

! Nouveau !  En live, ne manquez pas les news de modxcms.fr sur Twitter   ! Nouveau !

MODx est l'outil idéal pour les developpeurs et webdesigners qui cherchent un framework de gestion de contenu hautement flexible et performant, tout en étant simple d'accès pour les utilisateurs finaux.

Config : Apache 2.2.8 - MySQL 5.0.67 - PHP 5.2.8 | Debian 4.0 (Etch)

Réalisations sous MODx : | pargade-notaires.fr | soleil.info | gican.asso.fr | michelez-notaires.com | amadom.gerondicap.com | jocelyne-violet.net

#31: 3-Dec-2007, 09:24 PM

dermo666
Posts: 3

I installed the plugin and set the $resize_method = 1 => should it now make thumbnails of all <img> in the page, which have defined width? Not only images added through WYSIWYG - all images on the page (e.g. in TV)

example : <img src="assets/images/blank_tv.gif" alt="Blank Profile" width="322" />

Right now it does not do anything - no change of img.src ...

Thanks.

#32: 3-Dec-2007, 10:14 PM


Metaller
Posts: 1,207

Hello.

First, please post your qustions about DirectResize 0.8 in this topic, not here.

$resize_method manages only method to calculate the height and width of the thumbnails. If only width is set on the source image, $resize_method automaticaly sets to 1. So this parameter does not affect the result in your case.

Whether or not the image is processed by plugin depends on the parameters $lightbox_mode and $allow_from (read the manual). If you are using default config file, all supported images in "assets/images" folder must be processed by the plugin, if it was correctly installed.

BUT, as readme said "Support for JPG and PNG files (GIF is not currently supported)"


« Last Edit: 3-Dec-2007, 10:19 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 для одиночных изображений - русскоязычный топик

#33: 18-Dec-2008, 03:39 PM

presson83
Posts: 77

ANy idea why I'm getting this error?

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 11648 bytes) in /home/eweb/public_html/assets/plugins/directresize/directResize.php on line 149

To test, I uploaded an image that is 1mb in size, and tried to re-size it to 500px wide. All my settings in the plugin are good to go.  THe plugin works great with smaller images, but this one that is 1mb will not work. It appears the php script has a 64mb limit, so 1mb should be fine. Any ideas?

EDIT: I didn't have the newest version. My bad!!! Works like a CHARM now. GREAT PLUGIN!!!!!!
« Last Edit: 18-Dec-2008, 04:24 PM by presson83 »
NICK HOAG
Web Developer
ETERNITY WEB - http://eternitywebdev.com
Pages: 1 [2]  All   Go Up
0 Members and 1 Guest are viewing this topic.