salesagility / SuiteCRM

SuiteCRM - Open source CRM for the world
https://www.suitecrm.com
GNU Affero General Public License v3.0
4.57k stars 2.11k forks source link

Product Images stores full image URL #623

Closed JimMackin closed 7 years ago

JimMackin commented 9 years ago

The product image field in AOS Products stores the full URL of the image. I.e:

http://example.com/path/to/suite/upload/someImage.php

This isn't ideal since if the SuiteCRM path, domain or protocol (i.e. if they switch to/from https) then the link will be broken. Ideally this should just contain the path relative to the upload directory.

Related to #164

recci commented 8 years ago

Note the .htaccess file currently restricts access to the upload directory. You have to remove this restriction for the image to show.

samus-aran commented 7 years ago

Product Images stores full image URL

samus-aran commented 7 years ago

We have now set up a new home for suggestions at Trello. All github issues that were labeled 'suggestion' have been moved and will be closed. Certain ones will be progressed within the new Suggestion Box and may be re-opened.

Announcement of moving Suggestions: https://suitecrm.com/forum/suggestion-box/13691-moving-suggestions-from-github-to

New SuiteCRM Suggestion Box https://trello.com/b/Ht7LbMqw/suitecrm-suggestion-box