WordPress.org

Ready to get started?Download WordPress

Forums

elegant Grunge Theme Problem - IMAGE FRAMING NOT WORKING... (11 posts)

  1. Barefoot Ted
    Member
    Posted 4 years ago #

    ..even though they should be.

    Version 1.0.3 and WP 2.8.5

    I've got the apply frame to all images selected.

    Take a look at the site here: http://www.leahdawndesign.com

    Any ideas what's up?

    Why are my images not being framed?

    By the way, frames are also enabled in the Post page.

    Screen grab:
    http://leahdawndesign.com/ApplyFrame.jpg

    Yet, frames are still not showing!

  2. Barefoot Ted
    Member
    Posted 4 years ago #

    Getting some errors.

    In FireFox go to menu Tools >> Error Console

    You'll see things like:

    Warning: Unknown property 'border-bottom-left-radius'. Declaration dropped.
    Source File: http://leahdawndesign.com/wp-admin/load-styles.php?c=1&dir=ltr&load=global,wp-admin&ver=ba4d987ec2b562bd22e5da70fe38318d
    Line: 748
    Warning: Unknown property 'border-bottom-right-radius'. Declaration dropped.
    Source File: http://leahdawndesign.com/wp-admin/load-styles.php?c=1&dir=ltr&load=global,wp-admin&ver=ba4d987ec2b562bd22e5da70fe38318d
    Line: 749
    etc.

    Is this part of my problem? And if so, how to fix.

  3. Barefoot Ted
    Member
    Posted 4 years ago #


  4. Barefoot Ted
    Member
    Posted 4 years ago #

    Okay, I have now got some images working and others not.

    I noticed that sometimes when I add an image, the following code is generated:

    <span class="frame-outer aligncenter"><span><span><span><span><img class="aligncenter" src=" etc...

    But other times, it does not display this code, and when that happens, no frame.

  5. Barefoot Ted
    Member
    Posted 4 years ago #

    Okay, for sure, when I add images, the necessary code for the frame is NOT created...even though I have Apply frame to all images selected.

    Any ideas?

  6. Barefoot Ted
    Member
    Posted 4 years ago #

    I think it might have something to do with this:

    A caveat here: The regular expression that supports wrapping any kind of content block (as opposed to just images) uses a relatively modern feature of regular expressions called recursive sub-patterns, which will not work with PHP installations with an older PCRE regular expression library. Hence, the ‘@’ sign preceding the preg_replace_callback, which will cause it to fail silently, without throwing error messages everywhere.

    My server is running PCRE Library Version 6.6 06-Feb-2006

    Is that the problem?

  7. blogquestion
    Member
    Posted 4 years ago #

    Did you ever solve this? I'm getting no frames on my images as well.

  8. michaeltyson
    Member
    Posted 4 years ago #

    Hello - Sorry for being inattentive and not responding to you! I'm afraid that the image framing won't really work properly unless you're using a version of PHP with PCRE at least version 7.2 19-Jun-07 - this was when recursive subexpressions were added in.

    If you're having problems, many web servers now have support for PHP 5 (which should almost certainly have a modern PCRE), but sometimes it's optional, and you need to specifically specify the PHP version to use in at .htaccess.

    With my web host, it's:

    AddHandler application/x-httpd-php5 .php

    Best of luck,
    Michael

  9. tjellen
    Member
    Posted 4 years ago #

    Wrong post.. sorry

  10. Adlinni
    Member
    Posted 4 years ago #

    I'm having the same problem with the photo frames not working. The funny thing is I've only had this blog, http://www.NelsonNyman.com, setup for about a week. The photo frames where working just fine until yesterday, so I don't think it is an issue with my servers PCRE version, but I could be wrong.

    Any other ideas as to why the photo frames randomly stopped working.

    Thanks in advance.

  11. tjellen
    Member
    Posted 4 years ago #

    Hi Adlinni!

    Please test what i did to solve this problem:

    Se this link

Topic Closed

This topic has been closed to new replies.

About this Topic