similar to: link_to_image - Remove Border

Displaying 20 results from an estimated 2000 matches similar to: "link_to_image - Remove Border"

2007 Apr 09
6
gruff send_data
Hi, for those with experience of Gruff module: suppose I want to send image from server straight to the browser (as example on gruff web site): send_data(g.to_blob, :disposition => ''inline'', :type => ''image/png'', :filename => "gruff.png") the server seems sending this binary data ok, but I am having
2006 Oct 24
1
Changeset 5358 - Jamis
In http://dev.rubyonrails.org/changeset/5358 and the new alternative deprecation method, deprecate :link_image_to => :link_to_image should probably use the message version, as both link_image_to and link_to_image should be deprecated (according to the comments at least): deprecate :link_image_to => "Use link_to(image_tag()) instead"
2006 Apr 10
6
image_tag adding request parameter
I have noticed that the image_tag helper method now appends a request parameter to the generated src attribute. With Rails 1.0/actionpack-1.11.2 I had <img src="/images/rss.gif" /> Now (1.1/1.12.1) I get <img alt="Rss" border="0" src="/images/rss.gif?1142366545" /> Is there any use for that number? Where does it come from? This is very far
2006 Apr 20
2
Image Display Question
Hello there, I have something odd happening to my image tags when displaying an image. Here''s what my ''<img src>'' tags are looking like: <img alt="2-thumb" src="/images/public/uploaded_images/2-thumb.jpg?" /> Notice the question mark at the end of the string. I have no idea where this coming from. Here are the important parts of my
2006 Jan 23
4
an image that is a clickable link?
Hi, How do I make an image that is a clickable link the rails way? Is there a view helper for this? Thanks, Peter
2006 May 23
3
image_tag problem
Hiall, I want to make an image_tag from within a controller in order to be able to present a link (with a status image) in a view. Here is my controller method (in file webca_controller.rb, hence WebcaController) def untouched_status_image_tag image_tag("open", { :alt => "Offen", :title => "Offen", :size => "12x12", :class =>
2018 May 01
4
issue with model.frame()
A user sent me an example where coxph fails, and the root of the failure is a case where names(mf) is not equal to the term.labels attribute of the formula -- the latter has an extraneous newline. Here is an example that does not use the survival library. # first create a data set with many long names n <- 30? # number of rows for the dummy data set vname <- vector("character",
2006 Jan 09
6
Rendering dynamic Gruff image (send_data)
Dears, Got a controller witch do a send_data for displaying a chart. like : send_data(g.to_blob, :filename => "any.png", :type => ''image/png'', :disposition=> ''inline'') I actually do a <img src="http://myhost:3000/stats/make_graph" /> Is there any way more clean to do that ? At minima don''t hardcode the beginning
2008 Oct 28
7
How to override one method of AssetTagHelper
I created a file ./lib/action_view/helpers/asset_tag_helper.rb and put in it only the method I want to override. like this module ActionView module Helpers #:nodoc: module AssetTagHelper def image_path(source) compute_public_path(source, ''images'') end end end end But as soon I try this all the others methods from the overriden module are not
2012 Apr 03
1
Create Model Object (setClass?setMethod?)
Hi all, I have a self written likelihood as a model and functions to optimize and get fitted values, confidence intervals ect. I wonder if there is a way to define a 'class', or a 'model' (or a certain object)? so that I can use 'summary' to produce a summary like it does for a lm object. Also, it should be able to use 'predict' and 'plot' and other
2010 Jul 15
2
Grub booting issue
https://bugzilla.redhat.com/show_bug.cgi?id=499204 Given I can boot the install disk and chroot in, there must be away around Grub while still keeping LVM installed. Any ideas? Screen says: Booting Centos (2.6.18-194.3.1.el5) root (hd0,0) Filesystem type is ext2fs, partition type 0x83 kernel /vmlinuz-2.6.18-194.3.1.el5 ro root=/dev/VolGroup00/LogVol00 [Linux-bzImage, setup=0x1e00,
2009 Jul 09
2
executing an error prone function without stopping a script
Dear R Users, I've used this a long time ago but have forgotten. Trawling aroung the various sources somehow does not lead me to it. How can I execute an error prone function without stopping a script if it goes wrong ? Thanks in advance, Tolga This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy
2006 Jun 09
5
Using link_to with an image tag & link text
Hi , I was trying to use link_to along with image_tag to setup a link that would open in an external window. But I was unable to make a link using both text & an image So my current workaround looks like this inside a partial where link is http://foo.com & text would be descriptive <img src="images/arrow.gif" border="0"/> <%= link_to(text, link, :popup
2009 Oct 25
3
Image_tag Positioning/Alignment
Hi: I searched the forum before posting and could not find any help on how to position an image using image_tag (''image_name''). I have an image in a div, and I need to move it to the right. How do I this? I have this code: <div id="mainDivright"><%= image_tag (''name.gif''), :options => {:align=>"right" } %></div> I
2007 Mar 24
4
image file URL generated by image_tag include some parameter
I''m using image_tag to generate img tag. URL of image file generated by image_tag include a parameter like following. "http:// ..... /images/filename.gif?123123123" What''s this number parameter for? How can I remove it? I''m using rails with built-in WEBrick server in test mode. --~--~---------~--~----~------------~-------~--~----~ You received this message
2005 Aug 31
5
image_tag :align => 'absmiddle' ?
hi, i''ve been through the rails apis and searched through past rails discussion, but i haven''t managed to find a way of aligning images with the image_tag() method. ideally i''d like to write something like image_tag("image.gif", :align => ''absmiddle'') to position the image vertically in the middle of some text. thanks luke
2010 Mar 17
3
tinc throughput on alix machines
Hi, I've setup a wlan ap using a an alix 2d2 (AMD Geode LX 500 Mhz + AES Offload) and am now trying to encapsulate the wlan traffic into a vpn (tap bridge). Though even when disabling crypto and digest (there is a crypto engine onboard can be setup to handle tinc encryption), the best throughput I get is aroung 2,9 MByte per second (wget+http) (even if the client is run locally). The network
2006 Jan 17
5
file_column mangling URL
Hey, I''ve gotten file_column to upload a file, drop it in the dynamic directory, but I can''t display the image, the directories repeat themselves: My model: class Person < ActiveRecord::Base file_column :image_url In my view: <%= image_tag url_for_file_column(''person'', ''image_url'') %> HTML generated is this: <img
2013 Nov 13
2
Implementing Samba 4 in multi site environment
hii all i need some suggestion about implementing samba 4 in multisite environment im still new in samba 4, i have finish install my first samba 4 DC in my centos 6 machine without any problem. i have plan to implement samba 4 in distribute / multisite environment, i have one head quarter office and aroung 20 site office, in my head quarter office i have not more than 50 PC client and in every
2005 Dec 16
5
Question: image_tag(source, options = {})
image_tag(source, options = {}) Ok, when I want to use an image I added the following code: <%= image_tag "dsf.jpg" options = {[align="right", style="padding-right: 10px; padding-top: 5px;"]} %> However, this doesn''t seem to work, it doesn''t like how I have the "options" part setup. I''m sure there is something very easy