Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-303

Duplicate image path when image from Images table is resized resulting missing image

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.1
    • Fix Version/s: 5.0.2-B1
    • Component/s: Front End
    • Labels:
      None
    • Additional information:
      Hide

      Where I stumbled across a problem:

      I needed to show user's avatar, who have created article in article list near primary article image. For that purpose I've left joined Images table and created calculated field, that retrieved Images.ThumbPath field and virtual field, that uses it with same declaration as PrimaryImage field (added through FileHelper class) for users unit config.

      Show
      Where I stumbled across a problem: I needed to show user's avatar, who have created article in article list near primary article image. For that purpose I've left joined Images table and created calculated field, that retrieved Images.ThumbPath field and virtual field, that uses it with same declaration as PrimaryImage field (added through FileHelper class) for users unit config.
    • External issue ID:
      366
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      Field Option "path_included", that is set for all unit configs, that use Images table for image storage is not processed by kUploadFormatter class and it adds relative path to file in all cases. This leads to urls in format:

      http://www.site.com/system/images//system/images/image_file.jpg

      Of course such images can't resized correctly, because they can't be accessed.

        Attachments

          Activity

            People

            • Assignee:
              alex Alex
              Reporter:
              alex Alex
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: