Tagged: Mediapress Wordpress Uploader
Thank you for your reply.
We want to upload a default image from our server when user go to the uploader page, where can select various images or drop into the box. So a default image pre-loaded when user go to this page.
PS: How it’s possible disable the dropdown function trought jquery or js?
1. I do not see any easy option for that. It may be achievable but will need a lot of custom work.
2. Your question:- ” How it’s possible disable the dropdown function trought jquery or js?”
Which dropdown you are referring to. Please provide the context.
Thank you again for your reply.
How can we upload a default image taken from the server in a specific gallery via php code? For example if we wanted to add an image called “buddy.jpg” in the gallery with ID = 39 of the user with ID = 2, how can we insert it?
Could you give us an example of the code?
I am sorry but I am unable to offer you code due to the time it needs. It can be achieved in the following way though:-
1. You save the file as a new WordPress attachment. Keep this attachment id for use.
2. Use mpp_add_media to add this attachment id to your preferred gallery
If you are not very comfortable with php, I will suggest hiring a developer to help you achieve it.
You must be logged in to reply to this topic.