Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › Wp Photo Seller – Images not showing after site move
Tagged: WP Photo Seller
- This topic has 23 replies, 7 voices, and was last updated 9 years, 7 months ago by Peter.
-
AuthorPosts
-
April 10, 2015 at 11:40 am #62226wreedMember
ABSPATH echos out to the correct path.
April 11, 2015 at 12:24 am #62227PeterMemberThe gallery template you are using in the link you provided doesn’t look like it is being generated by this plugin – is it a standard template or is it something you have modified?
I’m asking because the CSS classes used in it are not from this plugin.
April 11, 2015 at 12:47 am #62228wreedMemberThis template was custom built by the support email for your plugin. They built the gallery per what I wanted….but just curious how I can fix this quickly.
April 11, 2015 at 1:30 am #62229PeterMemberOk so you are saying one of our team customised the template for you?
I’m not aware of this which is why I don’t know exactly which part of the “new” code is causing the issue because I haven’t seen that code.
If you could share the custom php file with me I can take a look at it.
Just as a test, can you revert to the stock standard template 1, do the thumnbails appear?
April 11, 2015 at 2:25 am #62230wreedMemberYes they do come back….what custom file…they gave me a whole addon like it was a new version….
I can attach that if need be?
April 11, 2015 at 2:43 am #62231wreedMemberWhile looking at the templates…I noticed that they reference the $path variable.
Template8 works, uses this…
$path = $wpsPhotoObj->thumb_url;
Template9 does not work and is custom, uses this…
$path = $wpsPhotoObj->image_file_url;//thumb_url;
What is the image_file_url and why is it coming up with /wp/ in the path?
He is using that because I wanted bigger thumbnails I assume….
If I trace it back to the model for WPSPhotoProduct… I get this…
$this->image_file_url = $image_post->guid;
Does that mean the guid is messed up in the database?
I keep editing this post, sorry I figured it out, in the post has a guid field (mysql) and there the path is wrong….I am updating each image post, but will this be screwed up if I add a new image, can you tell me where the path would be adding into the guid field?
April 11, 2015 at 6:02 am #62232PeterMemberDon’t update the posts…..you should upgrade the photo seller plugin because you obviously have an old version.
https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins
April 11, 2015 at 11:43 am #62233wreedMemberIf I upgrade the plugin I will lose the custom template that your support built for the gallery page?
I was able to update the links within the posts table easily. My question though is if they used the guid will new images added to the gallery, break?
April 12, 2015 at 3:00 am #62234PeterMemberMy understanding is that the customisations done on your site were in the form of an addon plugin. Therefore you should be ok to upgrade the main photo seller plugin.
-
AuthorPosts
- You must be logged in to reply to this topic.