Development

#477 (Allow 'absolute' option for image_tags)

You must first sign up to be able to contribute.

Ticket #477 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

Allow 'absolute' option for image_tags

Reported by: francois Assigned to:
Priority: minor Milestone: 0.6.3
Component: Version:
Keywords: Cc:
Qualification:

Description

For now, the use of the image_tag() helper outputs relative URLs.

It would be great if there were an option to specify that the output URL should be an absolute one, 'a la' absolute_url option of the link_to() helper (by the way, shouldn't we rename this one 'absolute' and deprecate 'absolute_url' ?)

<?php echo image_tag('myimage', 'absolute=true') ?>

Change History

05/09/06 16:36:11 changed by fabien

  • milestone set to 0.6.3.

05/09/06 16:50:06 changed by fabien

  • status changed from new to closed.
  • resolution set to fixed.

in r1331.

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.