joomla-cms icon indicating copy to clipboard operation
joomla-cms copied to clipboard

[4.1] Workflow Plugin Image Settings

Open david0296 opened this issue 5 years ago • 7 comments

Pull Request for Issue # .

Summary of Changes

Added new options on the transition settings to set an image of an article (Intro Image + Full Article Image) as required, set a resolution for resizing and set allowed file extensions.

image

Testing Instructions

  1. Navigate to Content -> Workflow -> Transitions
  2. Edit a transition of your choise
  3. Go to the tab "Image Settings", choose your settings and save
  4. Navigate to Content -> Articles and execute the edited transition
  5. Make sure, the transition is not executed, if one of the images, which is set to be required, is missing
  6. Make sure, the transition is not executed, if one of the images has a not-supported file extension
  7. Make sure, there is a resized image in the image folder with the correct resolution

david0296 avatar Aug 19 '20 10:08 david0296

For Joomla 4 we have tried to remove any description text that is not really necessary. Please could you review your strings with that in mind.

brianteeman avatar Aug 19 '20 11:08 brianteeman

@brianteeman thanks for this information. I will take another look at it

david0296 avatar Aug 19 '20 12:08 david0296

I've added two radio buttons on the form, so you can turn on/of, if the Intro Image/Full Article Image gets resized or not after executing the transition

david0296 avatar Aug 24 '20 09:08 david0296

Is this intentionally limited to local filesystem?

SharkyKZ avatar Aug 25 '20 06:08 SharkyKZ

Is this intentionally limited to local filesystem?

I'm sorry, but I don't know how to test this/how to set an external image as "Intro Image" or "Full Article Image"

david0296 avatar Aug 25 '20 12:08 david0296

This pull request has automatically rebased to 4.2-dev.

HLeithner avatar Jun 27 '22 13:06 HLeithner

This pull requests has been automatically converted to the PSR-12 coding standard.

joomla-bot avatar Jun 27 '22 21:06 joomla-bot

Seems to be a very special usecase and not so important because nobody worked on it for a longer time. I am closing it. Thanks for the idea and working on the implementation.

rdeutz avatar Oct 21 '22 09:10 rdeutz