Viewing 13 replies - 1 through 13 (of 13 total)
  • If you review the page source code and find the img tag for the image, is the file present in that remote location? Images are not transferred with a DB clone/import/export. They must be manually transferred to the new site using FTP or a file-manager (of your web host), and placed in the same folders without disturbing existing files (don’t overwrite folders at this point)

    Additionally, you may need to run a query on the db to remove the old site URL from these post embedded img or href tags and replace with the new URL.

    Thread Starter bartoszbr

    (@bartoszbr)

    When I said the same configuration, I meant I have the same settings. The two plugin installations are separate.
    For some reason, the html code for the image is messed up. The image is in that location, but the code doesn’t display it.

    Check file permissions on the image folder, it must be web readable.

    Thread Starter bartoszbr

    (@bartoszbr)

    They are set to 777 both on the uploads folder and the sponsors_img folder

    It appears that something is filtering the HTML for the images. Here’s the current code for one of them:

    <img alt="See more about the sponsor"<br />
    title=& #8221;ELITE CHI& #8221;<br />
    src=& #8221;http://www.chicagonyeball.com/wp-content/uploads/sponsors_img/965a31f8e5a4a8d3bfbcee420cb3e096.png& #8221; />

    Unfortunately, I’m not familiar with the plugin. How are these created? Through shortcodes? A custom plugin page?

    It may be best to ask the plugin author directly. You can add “wp-sponsor-flip-wall” to this topic’s tags if you want it to show on the plugin’s repository page.

    Edit:

    Just to note, I added a space in each instance of the HTML code for quotation marks (& #8221;) in order to show it as it actually exists in the source code.

    777 means anyone can write to that folder, immediately change to web read and app access and have your host remove any files not authorized.

    Only unacknowledged fools and bad hosts say make it 777 (they tend to work together)….

    Thread Starter bartoszbr

    (@bartoszbr)

    It was set to 755, sorry.

    Here is the piece of code in the plugin that calls for the image:

    <div class="sponsor" title="<?php $sponsor->getName() ?>">
    		<div class="sponsorFlip">
    			<img alt="<?php _e('See more about the sponsor','wp-sfw-plugin') ?>"
    				 title="<?php echo $sponsor->getName() ?>"
    				 src="<?php echo $sponsor->getImgDir() ?>" />
    		</div>
    Thread Starter bartoszbr

    (@bartoszbr)

    I don’t think permissions are the problem. Or could they be?

    If the file is there and the link is correct, can you explain otherwise? Regardless of what PHP does, if it created the link properly and the file is there..it’s not a PHP issue..review the generated source code on the page not displaying properly.

    No, your permissions are fine.

    I was going to suggest something but, after reloading your site, it looks like you’ve fixed whatever was causing the problem. 🙂

    @swansonphotos:

    As I pointed out in my last post, the image code was not being output correctly. The code I posted is an exact copy from the site’s source.

    Hello everybody,
    has anyone solved this problem? I’ve got the same problem with the incorrect HTML-Code on my site…
    thanks

    Please post your own topic and include a link to a page demonstrating the problem.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Images not appearing (alt code instead)’ is closed to new replies.