# GoStock – Free Stock Photos Script v1.8

Updated: 05, December 2018

## Changelog

- Fixed
- Social login with session active
- Custom message image validation
- Share Facebook - Image not showing
- Changed
- View last members in Panel Admin
- Full title in share social
- Avatar size obtained from Social Login
- Added
- Current year in template email verify
- HTTPS to Google Fonts in Panel Admin

## Affected files

- `app`
- SocialAccountService.php
- `routes`
- web.php

    Route::group(['middleware' => 'guest'], function() {
      	Route::get('oauth/{provider}', 'SocialAuthController@redirect')->where('provider', '(facebook|google|twitter)$');
      	Route::get('oauth/{provider}/callback', 'SocialAuthController@callback')->where('provider', '(facebook|google|twitter)$');
      });//<--- End Group guest

- `resources / lang / en`
- validation.php

    'dimensions' => 'The :attribute has invalid image dimensions (width) :min_width px (height) :min_height px.',

    'attributes' => [
      		'agree_gdpr' => 'box I agree with the processing of personal data',
      		'full_name' => 'Full Name', // Version 1.8
      		'username'  => 'Username',
      		'email'     => 'Email',
      		'password'  => 'Password',
      		'password_confirmation' => 'Password Confirmation',
      		'username_email' => 'Username or Email',
      		'website'   => 'Website',
      		'location' => 'Location',
      		'countries_id' => 'Country',
      		'twitter'   => 'Twitter',
      		'facebook'   => 'Facebook',
      		'google'   => 'Google',
      		'instagram'   => 'Instagram',
      		'comment' => 'Comment',
      		'title' => 'Title',
      		'tags'  => 'Tags',
      		'description' => 'Description',
      	],

- `resources / views`

- `admin`
- dashboard.blade.php
- layout.blade.php

- `auth`
- login.blade.php

    <div class="facebook-login auth-social" id="twitter-btn">

- register.blade.php

    <div class="facebook-login auth-social" id="twitter-btn">

- `emails`
- verify.blade.php

    © <?php echo date('Y'); ?>

- `images`
- show.blade.php

    <meta property="og:type" content="website" />
    <meta property="og:image:width" content="{{App\Helper::getWidth('public/uploads/preview/'.$response->preview)}}"/>
    <meta property="og:image:height" content="{{App\Helper::getHeight('public/uploads/preview/'.$response->preview)}}"/>

    <meta property="og:title" content="{{ $response->title.' - '.trans_choice('misc.photos_plural', 1 ).' #'.$response->id }}" />

    <meta name="twitter:title" content="{{ $response->title.' - '.trans_choice('misc.photos_plural', 1 ).' #'.$response->id }}" />

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 😉