Cannot display product image
-
I’m using wp-catalogue for the first time and I believe I am using it correctly however, when I go to create a catalogue, I go to use the uploaders at the bottom of the page, upload an image and I can eiher insert to post or save settings. I have tried both yet when i go to view the post or the catalogue page , the image won’t display.
-
I just typed in an absolute url path into one of the upload fields at the bottom and saved it and it seemed to work, tho this is not a good solution for the client whom i will be selling it to. Any suggestions on how to fix this dilemma?
Insert into Post should add the image path URL to the field, which is then saved on Publish…. Can you try uploading the image directly to the Media Library then copying the image URL and pasting it manually into the relevant field in the plugin and saving? Does this work? (ie just trying to ascertain whether it’s the upload button that’s broken, or something else)
Thanks
insert to post is NOT working in the method in which you described. I am about to try to upload the image directly to the library as suggested. One moment
That method works, so it is the upload button seems to be broken?
I tried witching themes but still no luck. And the wp-catalogue is the only plugin i have activated so that sort of rules the whole class of plugins theory out. The add media insert into post works (when i use the wordpress provided button on other posts) but for some reason it doesn’t want to populate the upload field with a value
This is what is in my plugin code. Does it look correct:
//script to upload images
jQuery('.st_upload_button').click(function() { targetfield = jQuery(this).prev('.upload-url'); tb_show('', 'media-upload.php?type=image&TB_iframe=true'); return false; }); window.send_to_editor = function(html) { imgurl = jQuery('img',html).attr('src'); jQuery(targetfield).val(imgurl); tb_remove(); } });From what i have looked up, the code seems correct. I have no idea why it isn’t working then.
Same problem for me.
Firefox 19, Win XP.So i was debugging and tried a simple alert() to see what targetfield would return, and nothing comes back not even an alertbox with object undefined. Like i took out all the code but it still brings up the meida upload.In the plugin editor it says the file is inactive.
Still no response. I have looked all day for answers as well as possible substitutions for this plugin but have found nothing. I really need to get this working and any support at all would be very helpful please and thank you.
@mforsyth1989
I’m in Australia so different time zone – I spend time on the support forum once daily… so getting back to you as soon as possible.Now, I can’t see this problem happening for me and most other users don’t seem to be having this problem, but there is obviously something wrong because it is happening for a handful of people. Please can you send me a link to your site so I can see the code for myself. I would like to try to see if there is anything consistent across the sites that are showing this upload button error…
Thanks
I assumed the time difference but was hoping others would have input.
The website is http://www.penandpixelmedia.com/Zareh
if you’d like i can send you login info so that you can gain access to the plugin’s code. There currently is no page for the catalogue’s function.
Hello All,
Problem has been identified – the upload button function only works when Link URL field in the media uploader is populated with the filepath to the image.
For anyone experiencing problems with the upload button please check to make sure your Link URL field is set to ‘File URL’ before you hit ‘Insert Into Post’.
Click here to see a screenshot of this.Thanks to mforsyth1989 for assistance identifying this issue. I will look to see if there is something I can do in the plugin code to fix this up for future releases.
Thanks – that solved my problem!
I don´t think you have to do anything in the plugin because I caused it myself: default the file url is chosen.
(I actively changed it to ‘none’ because I usually do that with images in wp cause I don’t want people to click the images.)
The topic ‘Cannot display product image’ is closed to new replies.