• I use the free version of the WP-Offload-Media plugin, ver.2.0.1.
    The thumbnails of the images stored in a S3 bucket are not displayed in the WordPress media library.
    I found out that the URLs used in WordPress media library are wrong. So there might be a problem with URL rewriting for thumbnails (other image sizes are OK).
    Example:
    URL in media library:
    https://s3-eu-central-1.amazonaws.com/offload-media/wp-content/uploads/2019/02/12112034/1dd90161-9b17-4236-9ecd-6c4ecd318ffc-Kopie-150×98.png

    Correct S3 URL:
    https://s3.eu-central-1.amazonaws.com/offload-media/wp-content/uploads/2019/02/12112034/1dd90161-9b17-4236-9ecd-6c4ecd318ffc-Kopie-150×98.jpg

    As you can see, right after https://s3 there has to be a dot, but there ist a minus.

    I enclose the system info in case you need it.
    site_url(): https://omasgegenrechts.at
    home_url(): https://omasgegenrechts.at
    Database Name: db568365
    Table Prefix: wp_24_
    WordPress: 5.0.3
    Web Server: Apache/2.4.35
    PHP: 7.2.3
    MySQL: 5.6.19
    ext/mysqli: yes
    PHP Memory Limit: 1000M
    WP Memory Limit: 40M
    Memory Usage: 88 MB
    Blocked External HTTP Requests: None
    WP Locale: de_DE
    Organize offloads by month/year: Enabled
    WP_DEBUG: No
    WP_DEBUG_LOG: No
    WP_DEBUG_DISPLAY: Yes
    SCRIPT_DEBUG: No
    WP Max Upload Size: 64 MB
    PHP Time Limit: 600
    PHP Error Log: /kunden/568365_1030/webseiten/OMASGEGENRECHTS/error.php
    WP Cron: Enabled
    fsockopen: Enabled
    allow_url_fopen: Enabled
    OpenSSL: OpenSSL 1.0.2l 25 May 2017
    cURL: 7.55.1
    Zlib Compression: Enabled
    PHP GD: bundled (2.1.0 compatible)
    Imagick: Disabled
    Basic Auth: Disabled
    Proxy: Disabled

    Media Files: 853
    Offloaded Media Files: 60
    Number of Image Sizes: 6

    Names and Dimensions of Image Sizes:
    thumbnail (150×150)
    medium (300×300)
    large (1024×1024)
    amadeus-entry-thumb (750×0)
    amadeus-slider-size (1000×250)

    WP_CONTENT_DIR: /kunden/568365_1030/webseiten/OMASGEGENRECHTS/omasgegenrechts.at/wordpress/wp-content
    WP_CONTENT_URL: https://omasgegenrechts.at/wp-content
    UPLOADS: Not defined
    WP_PLUGIN_DIR: /kunden/568365_1030/webseiten/OMASGEGENRECHTS/omasgegenrechts.at/wordpress/wp-content/plugins
    WP_PLUGIN_URL: https://omasgegenrechts.at/wp-content/plugins

    AWS_USE_EC2_IAM_ROLE: Not defined
    AS3CF_PROVIDER: Not defined
    AS3CF_BUCKET: Not defined
    AS3CF_REGION: Not defined

    Bucket: offload-media
    Region: eu-central-1
    Copy Files to Bucket: On
    Rewrite File URLs: On

    Local URL:
    https://omasgegenrechts.at/wp?content/uploads/2019/02/photo.jpg
    Offload URL:
    https://s3?eu?central?1.amazonaws.com/offload?media/wp?content/uploads/2019/02/12154319/photo.jpg

    Domain: path
    Enable Path: On
    Custom Path: wp-content/uploads/
    Use Year/Month: On
    Force HTTPS: On
    Remove Files From Server: Off
    Object Versioning: On

    Active Theme Name: Amadeus Child
    Active Theme Version: 2.0.7.1538228639
    Active Theme Folder: amadeus-child
    Parent Theme Name: Amadeus
    Parent Theme Version: 2.0.7
    Parent Theme Folder: amadeus

    Active Plugins:
    Catch IDs (v1.6) by Catch Plugins
    Classic Editor (v1.4) by WordPress-Mitwirkende
    Contact Form 7 (v5.1.1) by Takayuki Miyoshi
    Contact Form 7 MailChimp Extension (v0.4.51) by Renzo Johnson
    Event Tickets (v4.10.0.1) by Modern Tribe, Inc.
    Flamingo (v1.9) by Takayuki Miyoshi
    Give – Donation Plugin (v2.4.1) by GiveWP
    Give – Form Field Manager (v1.4.1) by GiveWP
    Image Optimizer WD (v1.0.17) by WebDorado
    Jetpack von WordPress.com (v7.0) by Automattic
    MailChimp for WordPress (v4.3.3) by ibericode
    Relevanssi (v4.1.2) by Mikko Saari
    Shariff Wrapper (v4.5.3) by Jan-Peter Lambeck & 3UU
    Slider by Nivo – Responsive Image Slider (v2.2.0) by ThemeIsle
    Sticky Posts – Switch (v1.9.2) by Markus Froehlich
    The Events Calendar (v4.8.0.1) by Modern Tribe, Inc.
    Ultimate FAQ (v1.8.14) by Etoile Web Design
    W3 Total Cache (v0.9.7.2) by Frederick Townes
    WP Crontrol (v1.6.2) by John Blackbourn und Mitwirkende
    WP DSGVO Tools (GDPR) (v2.2.9) by Shapepress eU
    WP Offload Media Lite (v2.0.1) by Delicious Brains
    Wordfence Security (v7.2.1) by Wordfence
    Zeno Font Resizer (v1.7.4) by Marcel Pol

    Must-use Plugins:
    akeeba-backup-coreupdate.php

    Drop-ins:
    advanced-cache.php – advanced-cache.php

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Wrong Amazon S3 URLs for thumbs’ is closed to new replies.