GoStock – Free Stock Photos Script v1.7

Updated: 30, November 2018

Changelog

  • Fixed
  • Delete photos missing model
  • Social Facebook login
  • Characters in links pagination
  • Missing
  • File config / image.php
  • Added
  • Support PNG image transparency
  • Twitter Login
  • Updated to Laravel 5.7.15
  • Get avatar the user Facebook or Twitter
UPDATE users SET `oauth_provider` = 'facebook' WHERE `oauth_uid` != ''
ALTER TABLE `admin_settings` ADD `twitter_login` ENUM('on','off') NOT NULL DEFAULT 'off' AFTER `link_terms`;

Affected files

  • /Root directory
  • vendor (Upload full folder)
  • composer.json
  • composer.lock
  • app
  • Helper.php
  • SocialAccountService.php
  • app / Http / Controllers
  • AdminController.php
  • use App\Models\CollectionsImages;
    $sql->twitter_login = $request->twitter_login;
  • config
  • image.php NEW
  • services.php
  • 'twitter' => [
          'client_id' => "APP_ID", // configure with your app id
          'client_secret' => 'APP_SECRET', // your app secret
          'redirect' => 'http://YOURSITE.COM/oauth/twitter/callback', // IMPORTANT NOT REMOVE /oauth/twitter/callback
          ],
  • public / img
  • pixel.gif NEW
  • public / plugins / fleximages
  • jquery.flex.images.css
  • resources / lang / en
  • pagination.php
  • resources / views
    • admin
    • settings.blade.php
    • auth
    • login.blade.php
    • register.blade.php
    • images
    • show.blade.php
    • <div class="text-center margin-bottom-20">
       <div style="margin: 0 auto; background: url('{{asset('public/img/pixel.gif')}}') repeat center center; max-width:{{App\Helper::getWidth('public/uploads/preview/'.$response->preview)}}px; max-height: {{App\Helper::getHeight('public/uploads/preview/'.$response->preview)}}px">
         <img class="img-responsive" style="display: inline-block;" src="{{url('public/uploads/preview',$response->preview)}}" />
      </div>

Any problem or doubt send me an email to miguelvasquez991@gmail.com
Do not forget to visit miguelvasquez.net


Donate Any donation will be well received 😉