I use SonataMediaBundle to upload my images, and now I want to upload an image and the upload were more beautiful, that is to say that when you upload the image using the button, it will appear beside with a delete button for example that resets the upload, before validation and submission of the form,
Do you have any idea how to do this?
thank you very much
Related
I am only able to upload single images per time using the WP Page Builder, I have to save the page and then upload another image, whenever I try uploading another image, the screen greys out until I save the page before I'm able to upload another image
I should be able to just upload pictures as much as I want before saving the page
When I have images uploaded to Wordpress, there is no way for me to flexibly edit these images. For example, let's say I want to add a colored overlay over an image that has been uploaded to Wordpress. For me to do this, I have to add the overlay to the image, then upload the new modified image to Wordpress. When I am developing a non-Wordpress site, however, all I have to do is link to the photo in the CSS, then using the Image Assets generator, the linked image is changed on the fly. This saves me from having to re-upload photos every time I make a change.
Is there any Photoshop script or plugin, or just a method in general for editing photos without having to re-upload them to Wordpress?
There isn't any script out there that I know of, but if you have access to the wordpress uploads directory via an ftp client, you can edit the originally uploaded file and then use a plugin like Regenerate Thumbnails to update the smaller and automatically generated images.
I have made an image gallery where users can login and upload images which will be uploaded to the "Data" folder. I have also added a delete button. But the problem is any user can login and delete any image when they click the delete button. How can I make it so that only users who upload their own image are able to delete their own image only and no one else's?
I am working in Drupal 6.26. I am developing a custom module, in which i am i want to upload file in node creation page. I want an option to upload image, like there should be file upload component and a upload button. So when admin select a file and click on submit button file has to get saved in a folder and need to save the path in database. After upload the image thumbnail should appear with remove button. When the admin clicks on remove button the image thumbnail should disappear and file upload component has to displayed with upload button. On save of the node, the image path has to map with node. This is similar to cck file upload option. Please help me to do this. Thanks.
this would be a complex form using AHAH (AJAX) behaviour to both get the thumbnail displayed and the remove button functionality.
I would recommend starting off by studying the File upload and CCK code so you can define simple form using the Form API and then adding to it some AHAH magic.
You can get a good example of a AHAH module in Drupal 6 here
I want to upload files when adding or modifying records to a jqgrid. How is it possible? Is there some way to tinker with its Add/Edit Dialogue boxes?
Have you looked at the domos for the customised Edit Dialog? http://www.trirand.net/demoaspnet.aspx
Click on Edit, Add, Delete Rows in the menu and select Edit Form Types, which shows you how to control which controls are displayed for editing. You could use a file upload control. You will probably have to change the enctype of the post to "multipart/form-data". Not sure how to do that with jqgrid, but it shouldn't be too hard.