Uh, as far as I know, they don't get resized, just displayed smaller.
So your images:
* Still take as long to transfer
* Cost you the same in bandwidth costs
* Go towards the maximum amount of cache the browser is allowed
(very important for mobile browsers)
They just look smaller on the scree
I discovered how to size my images as thumbnails without a plugin or
the need to save them.
Here is the coding I used:
getProductImgPath(),'width=150', 'height=150') ?>
I didn't know image_tag had these attributes, but I found them at ..
\lib\vendor\symfony\lib\helper\AssetHelper.ph
Hi Alan,
Thanks for the post.
I would like to use this plugin if I could. My problem is I am a
complete novice with Symfony and so I don't know how to actually use
it. What code needs to be inserted in the actions.class.php file and
how do I call it for the effect I am trying to achieve? I do not
Richtermeister,
I tried to install this code, but it wouldn't work for me. In my
indexSuccess.php, how can I get the path from the database as the
first parameter of thumbnail_tag? Please reference my original post
for the coding.
Thanks.
On Oct 18, 12:37 pm, Richtermeister wrote:
> I'm using t
@richtermeister, you really should look into sfImageTransformExtraPlugin
2010/10/18 Richtermeister
>
> I'm using the sfImageTransformPlugin in conjunction with the helpers
> below:
>
>
> /**
> * Get the path of a generated thumbnail for any given image
> *
> * @param string $source
> * @param
I'm using the sfImageTransformPlugin in conjunction with the helpers
below:
/**
* Get the path of a generated thumbnail for any given image
*
* @param string $source
* @param int $width
* @param int $height
* @param boolean $absolute
* @return string
*/
function thumbnail_path($source, $w
Use sfImageTransformExtraPlugin - it is very easy to use, customizable
plugin, that requires almost nothing to make it work (transparently).
2010/10/17 xpanshun
> How would I call to this class from my indexSuccess.php to get the
> images to resize as they are displayed?
>
> *See coding in origi
How would I call to this class from my indexSuccess.php to get the
images to resize as they are displayed?
*See coding in original post
On Oct 17, 2:43 pm, Martin Ibarra Cervantes
wrote:
> hi, you can try use this class with sfThumbnailPlugin
>
> http://mic.misretratos.com/2010/10/17/sfresize
How would I call to this class from my indexSuccess.php to get the
images to resize as they are displayed?
This is what I have now:
getProductImgPath()) ?
>
On Oct 17, 2:43 pm, Martin Ibarra Cervantes
wrote:
> hi, you can try use th
How would I call to this class from my indexSuccess.php to get the
images to resize as they are displayed?
This is what I have now:
getProductImgPath()) ?
>
On Oct 17, 2:43 pm, Martin Ibarra Cervantes
wrote:
> hi, you can try use th
10 matches
Mail list logo