← Back to team overview

mahara-contributors team mailing list archive

[Bug 1378176] Re: Skins folder on upload of background images - multiple images attached to skins

 

At the very least the adding of the image should have appendix added to
it like what happens when we upload a file on the Content -> Files page

eg if I upload a file called badger.jpg more than once I get

badger.jpg
badger.jpg.1
badger.jpg.2
badger.jpg.3

So they are named visually different.

Currently there is the warning about deleting a file that is used in a
skin "This file is used as a background image in one or more of your
skins. Are you sure you want to delete this file?" so people shouldn't
be able to delete an image from a skin by accident

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1378176

Title:
  Skins folder on upload of background images - multiple images attached
  to skins

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  A feature request, although not exactly sure if a bug/issue
  If a skin is deleted, and a skin is re-imported, the background images are also re-imported.
  This can be visually confusing for users (see attached image: multiple_copies_images.png) as it creates multiple copies of the same image. I know the image files have unique background identifiers, its just that many users will get confused, especially if they are learning to use skins and go to delete a file and accidentally delete the one their skin is using.
  Is it possible to have a folder automatically created on upload of an image called 'page-skins' for background image purposes?
  Or have it so that it recognises the image is already there, maybe?

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1378176/+subscriptions


References