cake-php
[Arriba] [Todas las Listas]

Vínculo de imagen

To: <cake-php@xxxxxxxxxxxxxxxx>
Subject: Vínculo de imagen
From: "Advantage+" <movepixels@xxxxxxxxx>
Date: Thu, 27 Jun 2013 06:50:48 -0230
Delivery-date: Thu, 27 Jun 2013 05:20:57 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=x-beenthere:from:to:subject:date:message-id:mime-version:x-mailer :thread-index:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-google-group-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type:content-language; bh=VU/54Ikjs49fW2PRBEg4soFKv6uSHjTFxuBs1fXpBeg=; b=pi4At5e47NB5orpmNq/7L705CqVhijSs32nVRfMORsRuVIKHGXSEL09DCobSumbMFJ CErJPm/03fF+0PlHnwWMFR1hqZT7IfcKPVNs/Io94mfkmBUHQCe3pOyb0BXx1SntAA22 MVS7YNwo3y2XroC60E0S38gDedIYQbhZYytutDe8URkHQ9r8acPzevmLBBlSNwTJpDAR HSrwdLRCq06gk3BZmZAPS9ADwHYhk7wrHVcQ9FZKHlO+csZrJqrM0W6tIVF3Gslv0tfN ghhNGX7Iwjmls3Yb3qaB0HdSdtb5u8a7dv3+vb4fsebmzeU6vaVDp6G6Qbt6/KMjQL1A QOOg==
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-beenthere:from:to:subject:date:message-id:mime-version:x-mailer :thread-index:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-google-group-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type:content-language; bh=VU/54Ikjs49fW2PRBEg4soFKv6uSHjTFxuBs1fXpBeg=; b=Sok8ghfIQ2aiCs8Kw1pmm+kPcpfs0kffEVQbfGT2cHuWctBl5P3YOt7Uduezk1uBxy R8oWuLKdZ38SaVa4oDKhN39xf0Fdz5JamGQuIZAEByrcnrAQNxjPSyvrdbtRSiEsDxL4 iv+/8MX42qLXODbjo1EaA6foK4MCJQPh4fiyuA+R/Q0CG0EYxTINFVmCEiPS+1ZxOeAK ZvIJsnqVnIFlCtewf6iVjCOGZ8tzk/s20oe0ufU1KJGnpFRsvHqAcL7l5OlKNktQ+j9V OypLMCPhUSVXEiU6SRaH7BvbPMX4VbksowI3+vftB0nwDnJPts3tFa+XSTvSKFYgwC7b ccCw==
Envelope-to: traductor@xxxxxxxxxxx
List-archive: <http://groups.google.com/group/cake-php>
List-help: <http://groups.google.com/support/>, <mailto:cake-php+help@googlegroups.com>
List-id: <cake-php.googlegroups.com>
List-post: <http://groups.google.com/group/cake-php/post>, <mailto:cake-php@googlegroups.com>
List-subscribe: <http://groups.google.com/group/cake-php/subscribe>, <mailto:cake-php+subscribe@googlegroups.com>
List-unsubscribe: <http://groups.google.com/group/cake-php/subscribe>, <mailto:googlegroups-manage+1003367825667+unsubscribe@googlegroups.com>
Mailing-list: list cake-php@xxxxxxxxxxxxxxxx; contact cake-php+owners@xxxxxxxxxxxxxxxx
Reply-to: cake-php@xxxxxxxxxxxxxxxx
Sender: cake-php@xxxxxxxxxxxxxxxx
Thread-index: Ac5zFu+8oZk9vDAcQBS4ybREEXsHbw==
Estoy intentando enlazar a una imagen en *webroot/*img la carpeta pero él siempre añade en
la acción de controlador / actual

 

repite $esto->*Html->vínculo(

                $esto->*Html->imagen($pulgar['pulgar'], variedad('*fullBase' =>
cierto)), variedad(

                                $pulgar['*slide']), variedad(

'*fullBase' => cierto, 'escapada' => cierto, 'clase' => 'pulgar', '*rel' =>
'galería'));

 

Bastante clic sencillo en el pulgar y mostrar la imagen grande.

 

Sino que consiguiendo a la carpeta aparece tan:

 

*http://*dev/vista/de galería/*img/grande/2F41*c84*b3*cecff0#uno43#uno73*bd82*d56458*f79.*jpg

 

Cómo puede sirvo arriba de imágenes de *webroot?

 

*Thanks,

*Dave

-- 
Gustarnos en *FaceBook *https://www.facebook.com/*CakePHP
nos Encuentra en *Twitter *http://*twitter.*com/*CakePHP

--- 
Recibiste este mensaje porque eres *subscribed al *Google Grupos "*CakePHP" grupo.
A *unsubscribe de este grupo y la parón que recibe *emails de él, enviar un *email a pastel-*php+unsubscribe@xxxxxxxxxxxxxxxx.
A correo a este grupo, envía *email a pastel-php@xxxxxxxxxxxxxxxx.
Visita este grupo en *http://grupos.*google.*com/Pastel/de grupo-*php.
Para más opciones, visita *https://grupos.*google.*com/Los Grupos/optan_fuera.


I am trying to link to an image in webroot/img folder but it always adds in
the current controller / action

 

echo $this->Html->link(

                $this->Html->image($thumb['thumb'], array('fullBase' =>
true)), array(

                                $thumb['slide']), array(

'fullBase' => true, 'escape' => true, 'class' => 'thumb', 'rel' =>
'gallery'));

 

Rather simple click on the thumb and display the large image.

 

But rather than getting to the folder it shows up as:

 

http://dev/gallery/view/img/large/2F41c84b3cecff0a43a73bd82d56458f79.jpg

 

How can I serve up images from webroot?

 

Thanks,

Dave

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


<Anterior por Tema] Tema Actual [Siguiente por Tema>
  • Vínculo de imagen, Advantage+ <=