Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Photobox thumbnails cropped, not scaled #3376
    gbell_spamless
    Participant

    That works as a work-around, thanks.

    But of course it squashes any images that aren’t 1:1 aspect ratio.

    There’s a good CSS3 trick which actually centres the crop (overflow: hidden and background-position: center center) but apparently that’s not supported in IE7.

    Another option is to position and crop the images in the UI and have the thumbs on disk already cropped.

    Actually there’s one more – you could inline-style a negative margin based on the dimensions of the thumbnail… a 100×120 image would need a top margin of -10px to center it. You’d also have to decide whether to set max-height OR min-height (only one) depending on which dimension was least.

    gbell_spamless
    Participant

    /wp-admin/admin.php?page=GrandMedia
    or
    /wp-admin/admin.php?page=GrandMedia_Galleries
    or
    /wp-admin/admin.php?page=GrandMedia_Terms

    screenshot showing notice

    in reply to: "Catchable Fatal Error" #3318
    gbell_spamless
    Participant

    Hi Rattus,

    Good news! I found the problem. Somehow, there was a wp-content/grand-media/modules/photobox directory (version 0.3). shortcodes.php was finding this one instead of the new one in wp-content/plugins/grand-media/modules/photobox. What a pain to find!

    rm’ing the bogus/old one in wp-content/grand-media/modules/photobox made everything start working again.

    I’m not sure what caused this – I didn’t do it manually, so I’m suspecting Gmedia installed there originally. Why it wasn’t updating it is beyond me. Ultimately this is due to Gmedia since I didn’t start mucking around in there until it broke.

    Thanks for the support. I think I’m all good now.

    In attempt to repay the favour, I’ll point out you have a broken link on http://wordpress.org/plugins/grand-media/. It points to https://codeasily.com/portfolio-item/gmedia-photobox/ which doesn’t exist. Also, the Gmedia Modules page within WordPress points the Photobox demo to https://codeasily.com/portfolio-item/gmedia-photobox/ which also doesn’t exist :)

    Thanks again.
    Greg

    in reply to: "Catchable Fatal Error" #3316
    gbell_spamless
    Participant

    Also, notice these galleries are “photobox”, which I just noticed shows up on the “not installed” section. I can’t install it via the Modules page (a vague “Filesystem error” even though there are write permissions). If I unzip it to grand-media/modules, it still isn’t detected.

    in reply to: "Catchable Fatal Error" #3314
    gbell_spamless
    Participant

    I re-saved gallery settings – no change.

    I was unable to change the module for the gallery. There was no module image on the top left of the edit gallery screen. The error is displaying on that screen, so perhaps it is preventing the page from rendering properly:

    Editi gallery

    in reply to: "Catchable Fatal Error" #3307
    gbell_spamless
    Participant

    Those errors are all from Gmedia core, aren’t they?

    Under admin.php?page=GrandMedia_Modules I show 5 installed modules, but none show any need for update:

    in reply to: "Catchable Fatal Error" #3296
    gbell_spamless
    Participant

    Oops, my bad. Gmedia is now at 1.1.2. But I get this:

    Notice: Undefined variable: default_options in /home/plcg4637/public_html/wp-content/plugins/grand-media/inc/shortcodes.php on line 93

    Catchable fatal error: Argument 1 passed to GmediaCore::array_diff_keyval_recursive() must be an array, null given, called in /home/plcg4637/public_html/wp-content/plugins/grand-media/inc/shortcodes.php on line 98 and defined in /home/plcg4637/public_html/wp-content/plugins/grand-media/inc/core.php on line 466

Viewing 7 posts - 1 through 7 (of 7 total)