Closed (fixed)
Project:
ImageField
Version:
5.x-2.1
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Jun 2008 at 12:51 UTC
Updated:
3 Feb 2010 at 14:28 UTC
Jump to comment: Most recent file
Comments
Comment #1
say2sky commentedAnyone can help me with this?
I have check the the field_name table and node_field_instance table.
field_name table
node_field_instance table
but I don't know if any parameter and which is related with upload button show.
Any suggestion and help is greatly appreciated.
Comment #2
dopry commentedCurrently you must use form_alter to hide the upload button... Is this a feature other users would want? Where should it go in the UI? What should it be called?
Comment #3
neyoung commentedI'd like to see this feature. Maybe also change the button text to Preview so that people don't get confused. Some people don't read the help text at the top so they don't know that clicking the upload button doesn't actually change the image. They have to submit the form.
Comment #4
marcoBauli commentedor don't forget about asking CSS to do this :)
the module outputs a css ID for every image field 'upload' button:
Comment #5
socialnicheguru commentedthanks i will try this
UPDATE: this is not working for me as is. are there any considerations I should keep in mind?
UPDATE: I had to use this:
/* remove upload button from imagefield */
input#field-event-photo-attach-button{
display:none;
visibility:hidden;
}
Chris
Comment #6
marcoBauli commentedComment #7
dopry commentedUse CSS or hook_form_alter. If you do not understand either read their respective documentation or ask in forum.
Comment #8
baxterjones commentedi used #4 to not show mine anymore, but of coarse i have another label to my field.. i would recommend using the awesome firefox plugin firebug to "inspect" the element by right clicking on it.. then you can see exactly what you need to hide.
good luck, and note: works great for both d.5x and d6.x
B