darksummenors
Forum Replies Created
-
Forum: Hacks
In reply to: Select Image from Media Library for custom fieldI’ll copy my entire code in here. Please don’t watch how it has been coded because its pretty messy.
[ 700+ lines of code moderated, that’s just way too much. For that many lines of code please use pastebin.com instead. ]
Hope you can use some of this messy stuff.
Gydo
Forum: Hacks
In reply to: Select Image from Media Library for custom fieldYea got it build!
Look at my 3 screenshots!
http://imageshack.us/a/img826/2243/screenshotslideradmin2.png
http://imageshack.us/a/img803/791/screenshotslideradmin1.png
http://imageshack.us/a/img585/3937/screenshotslideradminse.pngThank you alot for your help Marty!
Friendly regards,
GydoForum: Hacks
In reply to: Select Image from Media Library for custom fieldthank you for your reply
i’ve got it working with the first plugin you have send.
but it works only for 1 field. at the moment.
so i will going to check gydo.js 🙂Friendly regards,
GydoForum: Hacks
In reply to: Select Image from Media Library for custom fieldThe only problem i still having is how do i get that id. Because the plugin you sended uses image by id. don’t wan’t img preview (that is getting made by js). Main issue is this.
<?php $attachment_id = 8; // attachment ID $image_attributes = wp_get_attachment_image_src( $attachment_id ); // returns an array ?> <?php echo $image_attributes[0]; ?>like you see i need an ID the id is in javascript.
Forum: Hacks
In reply to: Select Image from Media Library for custom fieldI’m gonna check your links further now. I was still tweaking the plugin and slider on front and admin panel evry settings and stuff are installed. i really need to learn to use arrays. cause moost plugins are build with arrays and i am building it with php and html. looks unprofessional when i see other plugins.
(also sorry for my bad English)
Friendly regards,
GydoForum: Hacks
In reply to: Select Image from Media Library for custom fieldYea that is precisely what i want. If you see the screenshot you see that i ask for an image url. The people that gonna use this plugin on our company arent that handy so i thought it would be nice that they only have to select the image they uploaded.
Gonna check your links, hope it works in 3.4.2 cause it says the new wordpress 3.5 media uploader
Regards,
GydoForum: Plugins
In reply to: [Meteor Slides] Wrong size for my meteor slidesTest link does not work