Timeline for Theme loosing some images when moving to new server
Current License: CC BY-SA 4.0
20 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 29, 2019 at 5:50 | comment | added | Vishwa | glad to be a help anytime.. | |
Apr 29, 2019 at 5:49 | comment | added | Andrew Newby | @Vishwa thanks. The customer has agreed to go with a new bespoke site now (WP was a bit overkill for what they needed). Thanks for trying though :) Much appreciated | |
Apr 28, 2019 at 7:36 | comment | added | Vishwa | I'm sure it's fixable, anyway I'm not sure that I can tellmore without actually seeing the code myself, sorry about that. outdated doesnt mean that you should abandon it, but yoy may have to take some additional steps yourself to ensure smooth delivery. thats all | |
Apr 26, 2019 at 10:08 | comment | added | Andrew Newby | @Vishwa yup, it seems to be it (adding debug does print out in that area). I'm talking to the client now about just re-writing it from scratch,. as it seems like the theme is no longer supported now (last reply to anyone was 6 months ago), and a couple of other plugins they used on it are also outdated | |
Apr 26, 2019 at 10:05 | comment | added | Vishwa | im not sure this is the right code. are you sure this is the php code for your homepage? | |
Apr 26, 2019 at 9:54 | comment | added | Andrew Newby | @Vishwa sorry about that - I copied the wrong URL. Its bodywisegym.co.uk (no "the" at the beginning). The thebodywisegym.co.uk one is on the old server (both are running the same version of WP now) | |
Apr 26, 2019 at 9:51 | comment | added | Vishwa | when I go to the url given, I can see the images for both Lewis Fisher and Ryan Anderson | |
Apr 26, 2019 at 9:38 | comment | added | Andrew Newby | @Vishwa Mmm it doesn't seem to be an issue with the latest WP version. I just copied live over again, edited the URLs and paths via the "DB Migrate" plugin, and it still has the same issue. thebodywisegym.co.uk if you want to see the source :) | |
Apr 26, 2019 at 9:28 | comment | added | Vishwa | using inspector, can you look for what url you'll get for the image area? | |
Apr 26, 2019 at 9:26 | comment | added | Andrew Newby | @Vishwa the problem with that, is that there are loads of other areas that use this code as well. I need to try and fugure out why its wrong :/ (it was working fine on the older server). Maybe I'll try putting the site back to the old WP version, and see if it still has the same issue | |
Apr 26, 2019 at 9:25 | comment | added | Vishwa |
use echo $thumbnail_src in '<a class="lightbox-link button transparent"' . $rel_attribute . 'title="' . $post_title . '" href="' . $thumbnail_src . ' ">'
|
|
Apr 26, 2019 at 9:17 | comment | added | Andrew Newby |
@Vishwa interestingly, that gives: string(64) "//bodywisegym.co.uk/wp-content/uploads/2014/03/PT3-1-225x300.jpg"
|
|
Apr 26, 2019 at 8:47 | comment | added | Vishwa | try var_dump($thumbnail_src) and post the output | |
Apr 26, 2019 at 8:01 | comment | added | Andrew Newby | Interestingly, even if I edit the photo in the admin panel and save it, I still don't get an image. I've even tried updating to the latest version of the theme as well. I'm wondering if I'll need to contact the theme author and get their input | |
Apr 26, 2019 at 8:00 | review | Close votes | |||
May 11, 2019 at 3:00 | |||||
Apr 26, 2019 at 7:53 | history | edited | Andrew Newby | CC BY-SA 4.0 |
added 6596 characters in body
|
Apr 26, 2019 at 7:52 | comment | added | Andrew Newby | @Vishwa - it seems to be a bit long-winded! I'll update my post in a second | |
Apr 26, 2019 at 7:37 | comment | added | Vishwa | show us the php code where you call the image url | |
Apr 26, 2019 at 7:30 | answer | added | Parth Shah | timeline score: 1 | |
Apr 26, 2019 at 7:24 | history | asked | Andrew Newby | CC BY-SA 4.0 |