Search

Hi,

I'm working on an exension with images. My idea was that I copy the required images on install() in workspace/uploads in a seperate directory and delete them when the extension gets uninstalled.

Is that the best way to make images available or is there a better way to do this?

Bests,

gnxtr

Okay, the better way is to store them in /extensions/$extension_name/asset/. I didn't thought that through, so never mind me.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details