Yii Framework Forum: [Yiiboilerplate & Yiibooster] Uploading And Accessing Images To Common Directory - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[Yiiboilerplate & Yiibooster] Uploading And Accessing Images To Common Directory Rate Topic: -----

#1 User is offline   Stefano Mtangoo 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 299
  • Joined: 02-January 12
  • Location:Dar es Salaam, Tanzania

Posted 17 June 2013 - 06:50 PM

I need simple help on how to upload images (specify upload path in setting) to common/uploads directory of YiiBoilerPlate so that I may upload images with redactorJs widget in Yiibooster.

What I try to accomplish:
Upload file with Backend but be able to display it in both BE and FE!

TIA
Stefano
And God said, Let there be science...and it was so! Forum coded in Yii2 here!
0

#2 User is offline   Stefano Mtangoo 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 299
  • Joined: 02-January 12
  • Location:Dar es Salaam, Tanzania

Posted 25 June 2013 - 03:37 PM

Answered my own thread :)

Just make symlink to the front end from backend.
If you don't have ssh access (as I do) use PHP symlink function.
Credits to Bogdan Savluk as he was helping me with other problem!
And God said, Let there be science...and it was so! Forum coded in Yii2 here!
0

#3 User is offline   leo4all 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 31
  • Joined: 01-April 13
  • Location:Alajuela, Costa Rica

Posted 29 November 2013 - 12:39 AM

Hey man how that goes?

can you share your example.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users