PHPfox-Official / phpfox-v4-issues

phpFox Public Bug Tracker
https://phpfox.com
30 stars 21 forks source link

when creating an event and adding photo it does not get the rule from admincp to 1200px its too big and needs to be cropped #2952

Closed spirogg closed 3 years ago

spirogg commented 3 years ago

Important

Please follow this template!


What's happened?

... when we add an event and add a photo the admincp setting does not crop the photo so its too big. I have default settings in admincp for 1200 px.

The same photo show perfect in photo app and when upoaded to feed section, but when added to event it's not cropped and is too big

Steps to reproduce:

  1. choose a photo and upload to photos app see photo size looks good
  2. now go create event and upload the same photo.
  3. now go view the event and click on it and see photo is too big gets cut off

What's expected?

... we should crop the photos equally for events also based on the settings we have in admincp

Browsers and Devices tested

(Example: Chrome on iPhone X, Safari on Macbook, Miscrosoft Edge on Windown 10, Firefox on Ubuntu 16.04, ...)

...all browsers

Server information

(Example: CentOS 7, php 7.1 apache)

CentOS 7, php 7.3

phpFox version

(Example: phpFox 4.6.0)

...4.8.1 fresh install

Screenshots

...

harrison05 commented 3 years ago

Hi @spirogg

Photo cut off on Event detail because we're using it as a background cover, so it can't show a full photo with a large height.

Regards.

spirogg commented 3 years ago

@harrison05 suggestion to be able to custom width and height in admincp or resize like we do profile image ? would help make site look very much nicer these photos